Skip to content

[release/10.0] Fix race in RST_STREAM_IncompleteRequest_AdditionalResetFrame test#65718

Merged
wtgodbe merged 2 commits intorelease/10.0from
backport/pr-65715-to-release/10.0
Mar 10, 2026
Merged

[release/10.0] Fix race in RST_STREAM_IncompleteRequest_AdditionalResetFrame test#65718
wtgodbe merged 2 commits intorelease/10.0from
backport/pr-65715-to-release/10.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Mar 9, 2026

Backport of #65715 to release/10.0

/cc @lewing

Fix race in RST_STREAM_IncompleteRequest_AdditionalResetFrame test

Summary of the changes (Less than 80 chars)

Description

{Detail}

Fixes #{bug number} (in this specific format)

Customer Impact

{Justification}

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

[Justify the selection above]

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

Move tcs.TrySetResult() after StopConnectionAsync so the response
handler stays blocked until the connection has stopped. This prevents
response HEADERS from being written before the GOAWAY frame, which
caused the test to intermittently fail with 'Expected: GOAWAY,
Actual: HEADERS'.

This is the same fix pattern applied in #65454 for the sibling
AdditionalDataFrames and AdditionalTrailerFrames tests, and in #57450
for the AdditionalWindowUpdateFrame test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lewing lewing added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Mar 9, 2026
@lewing
Copy link
Copy Markdown
Member

lewing commented Mar 9, 2026

test only change, no need for servicing approval

@lewing lewing added the Servicing-approved Shiproom has approved the issue label Mar 9, 2026
@wtgodbe wtgodbe added tell-mode Indicates a PR which is being merged during tell-mode and removed Servicing-approved Shiproom has approved the issue labels Mar 9, 2026
@wtgodbe
Copy link
Copy Markdown
Member

wtgodbe commented Mar 9, 2026

Switching to "tell mode" as that's what we usually use for test-only/infra servicing PRs

Wait for the request to be aborted before releasing the application delegate gate in RST_STREAM_IncompleteRequest_AdditionalResetFrame_IgnoreAdditionalReset. This preserves the test intent while avoiding both the HEADERS-vs-GOAWAY race and the shutdown timeout.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wtgodbe wtgodbe merged commit 78e6f5a into release/10.0 Mar 10, 2026
28 checks passed
@wtgodbe wtgodbe deleted the backport/pr-65715-to-release/10.0 branch March 10, 2026 16:18
@dotnet-policy-service dotnet-policy-service Bot added this to the 10.0.5 milestone Mar 10, 2026
@wtgodbe wtgodbe modified the milestones: 10.0.5, 10.0.6 Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants