Skip to content

Fix hang in stream ID validation test - #3513

Merged
chenBright merged 1 commit into
apache:masterfrom
wasphin:fix-stream-id-test-cleanup
Sep 1, 2026
Merged

chenBright merged 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.

@chenBright chenBright left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chenBright
chenBright merged commit 7b4b4a2 into apache:master Sep 1, 2026
25 checks passed
@wasphin
wasphin deleted the fix-stream-id-test-cleanup branch September 1, 2026 04:36
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.

2 participants