Skip to content

Fix hang in stream ID validation test - #3513

Open
wasphin wants to merge 1 commit into
apache:masterfrom
wasphin:fix-stream-id-test-cleanup
Open

Fix hang in stream ID validation test#3513
wasphin wants to merge 1 commit into
apache:masterfrom
wasphin:fix-stream-id-test-cleanup

Conversation

@wasphin

@wasphin wasphin commented Aug 31, 2026

Copy link
Copy Markdown
Member

What problem does this PR solve?

Issue Number: N/A

Problem Summary:

The mismatched returned stream ID test could hang in Server::Join. The
intentionally rejected response left server-side accepted streams open.

Related discussion: #3485 (comment)

What is changed and the side effects?

Changed:

The test now retains and closes the server-side accepted streams before
stopping and joining the server.

Side effects:

  • Performance effects: None. The change only affects a unit test.

  • Breaking backward compatibility: No.


Check List:

Close the server-side streams accepted by the mismatched stream ID test
before stopping the server. This prevents Server::Join from waiting
indefinitely for streams left open by the intentionally rejected response.
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.

1 participant