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

Deflake TestStaticHostUserHandler #51578

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Deflake TestStaticHostUserHandler #51578

merged 1 commit into from
Jan 31, 2025

Conversation

atburke
Copy link
Contributor

@atburke atburke commented Jan 29, 2025

This change deflakes TestStaticHostUserHandler, which was occasionally deadlocking due to clock shenanigans.

Resolves #51173.

@atburke atburke added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v15 backport/branch/v16 backport/branch/v17 labels Jan 29, 2025
@github-actions github-actions bot requested review from hugoShaka and Tener January 29, 2025 01:07
Copy link
Contributor

@hugoShaka hugoShaka left a comment

Choose a reason for hiding this comment

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

I'm not sure to understand why the previous test was flaky and this one this not? Was the issue solved by removing the restart test entirely?

@atburke
Copy link
Contributor Author

atburke commented Jan 31, 2025

@hugoShaka Yeah, basically. Both the retry handler and watcher timeout use the same clock, and BlockUntil wasn't always stopping at the same point because of that.

@atburke atburke force-pushed the atburke/shu-handler-flake branch from e76da05 to 61e7476 Compare January 31, 2025 19:10
@atburke atburke enabled auto-merge January 31, 2025 19:10
@atburke atburke added this pull request to the merge queue Jan 31, 2025
Merged via the queue into master with commit 5494b72 Jan 31, 2025
41 checks passed
@atburke atburke deleted the atburke/shu-handler-flake branch January 31, 2025 19:49
@public-teleport-github-review-bot

@atburke See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed
branch/v17 Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestStaticHostUserHandler flakiness
3 participants