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 flaky hsm test race #49972

Merged
merged 1 commit into from
Dec 10, 2024
Merged

fix flaky hsm test race #49972

merged 1 commit into from
Dec 10, 2024

Conversation

GavinFrazar
Copy link
Contributor

Fixes #47301

I wasn't able to reproduce the data race locally, but I think we just need to wait for the supervisor services to exit, otherwise the auth service heartbeat can fire in one goroutine while we restart the cluster in another goroutine, leading to the data race when we read/write cfg.HostUUID.

@GavinFrazar GavinFrazar added the no-changelog Indicates that a PR does not require a changelog entry label Dec 9, 2024
@GavinFrazar GavinFrazar changed the title fix flakey hsm test race fix flaky hsm test race Dec 9, 2024
@GavinFrazar GavinFrazar added this pull request to the merge queue Dec 10, 2024
Merged via the queue into master with commit c6d978b Dec 10, 2024
42 checks passed
@GavinFrazar GavinFrazar deleted the gavinfrazar/fix-hsm-test-race branch December 10, 2024 22:15
@public-teleport-github-review-bot

@GavinFrazar See the table below for backport results.

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

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.

TestHSMRevert flakiness
4 participants