Skip to content

test: enhance retry simulation with TCP failure mode and retry delay - #4897

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
snorwin:echo-basic-retry-simulation
May 25, 2026
Merged

k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
snorwin:echo-basic-retry-simulation

Conversation

@snorwin

@snorwin snorwin commented May 22, 2026

Copy link
Copy Markdown
Member

What type of PR is this?

/kind test
/area conformance-machinery

What this PR does / why we need it:
Extends the retry simulation handler in the echo-basic backend to support two additional failure modes, making it possible to test a wider range of client and gateway retry behavior in conformance tests:

  • TCP failure mode (default): the simulator hijacks the connection and aborts it with a TCP RST (via SO_LINGER=0) instead of returning an HTTP response.
  • Per-attempt delay: new query parameter delayRetry causes failing attempts to stall for the given duration before producing their failure response. Useful for testing per-try timeouts.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Norwin Schnyder <norwin.schnyder+github@gmail.com>
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/test area/conformance-machinery Issues or PRs related to the machinery and the suite used to run conformance tests. labels May 22, 2026
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 22, 2026
@rikatz

rikatz commented May 25, 2026

Copy link
Copy Markdown
Member

/lgtm
/approve
thanks @snorwin

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 25, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rikatz, snorwin

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 25, 2026
@k8s-ci-robot
k8s-ci-robot merged commit b86d833 into kubernetes-sigs:main May 25, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/conformance-machinery Issues or PRs related to the machinery and the suite used to run conformance tests. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/test lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants