Skip to content

Add origin on_connect failure simulation#341

Open
bneradt wants to merge 1 commit intoyahoo:masterfrom
bneradt:on_connect
Open

Add origin on_connect failure simulation#341
bneradt wants to merge 1 commit intoyahoo:masterfrom
bneradt:on_connect

Conversation

@bneradt
Copy link
Collaborator

@bneradt bneradt commented Mar 10, 2026

Allow replay files to define how the verifier server behaves after
reading a request. The new server-response.on_connect directive
supports accept, refuse, and reset so tests can model upstream
connection failures without synthesizing an HTTP response.

The patch updates YAML parsing, schema validation, and server
handling, and adds unit and AuTest coverage for the new behavior in
the refactored test layout.

Fixes: #331

@bneradt bneradt self-assigned this Mar 10, 2026
Allow replay files to define how the verifier server behaves after
reading a request. The new server-response.on_connect directive
supports accept, refuse, and reset so tests can model upstream
connection failures without synthesizing an HTTP response.

The patch updates YAML parsing, schema validation, and server
handling, and adds unit and AuTest coverage for the new behavior in
the refactored test layout.

Fixes: yahoo#331
@bneradt bneradt changed the title Add server-response on_connect support Add origin on_connect failure simulation Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add connection error simulation support

1 participant