Skip to content

test(e2e): warm up before disruption in streaming-request spec - #2378

Open
elevran wants to merge 1 commit into
llm-d:mainfrom
elevran:worktree-e2e-streaming-disruption-flake
Open

test(e2e): warm up before disruption in streaming-request spec#2378
elevran wants to merge 1 commit into
llm-d:mainfrom
elevran:worktree-e2e-streaming-disruption-flake

Conversation

@elevran

@elevran elevran commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

What type of PR is this?

/kind test

What this PR does / why we need it:

The "A decode pod is killed while a streaming request is in-flight" e2e spec sent its first request through a raw, non-retrying client, unlike its sibling disruption specs, which all warm up via runCompletion first. That first request can race Envoy's initial active health check on the EPP's ext_proc cluster (10s interval, see #1961), producing a local "no healthy upstream" reply that the spec misreports as "streaming request failed to connect."

Adds the same pre-disruption warm-up used by the other disruption specs, closing the race by construction instead of adding retry logic to the raw streaming client.

Which issue(s) this PR fixes:

Fixes #2377

Release note (write NONE if no user-facing change):

NONE

The streaming-disruption spec sent its first request through a
raw, non-retrying client, unlike its sibling specs which warm up
via runCompletion first. That first request can race Envoy's
initial active health check on the EPP's ext_proc cluster (see
llm-d#1961), producing a local no-healthy-upstream reply that the spec
misreports as a failed connection.

Fixes llm-d#2377

Signed-off-by: Etai Lev Ran <elevran@gmail.com>
@elevran
elevran requested a review from a team as a code owner August 13, 2026 15:43
@elevran
elevran requested review from ahg-g and hexfusion August 13, 2026 15:43
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[flake] e2e: streaming-disruption spec flakes on Envoy active-health-check race

1 participant