Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rare TestResumption deadlock #44810

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

espadolini
Copy link
Contributor

This PR disables the periodic reconnection ticker before running the reconnection-on-drop loop instead of resetting the ticker at the end of the loop. This enables TestResumption to correctly wait for the ticker to be running before advancing the fake clock that triggers the periodic reconnection in the test, which can very rarely deadlock in tests. The observable behavior of the resumable connection client is unaltered.

@espadolini espadolini added the no-changelog Indicates that a PR does not require a changelog entry label Jul 30, 2024
@espadolini espadolini requested a review from rosstimothy July 30, 2024 14:08
@github-actions github-actions bot requested review from camscale and tigrato July 30, 2024 14:08
@espadolini espadolini added this pull request to the merge queue Jul 30, 2024
Merged via the queue into master with commit c9a141b Jul 30, 2024
40 of 41 checks passed
@espadolini espadolini deleted the espadolini/testresumption-deadlock branch July 30, 2024 14:53
@public-teleport-github-review-bot

@espadolini See the table below for backport results.

Branch Result
branch/v14 Failed
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v15 backport/branch/v16 no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants