Skip to content

fix: loosen timing checks for heartbeats #15923

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

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Dec 18, 2024

Fixes #15782.

I believe that Windows doesn't always have high-resolution timers available, so this PR loosens the check for PG Coordinator heartbeats, to avoid flakes like:

https://github.com/coder/coder/actions/runs/12397381823/job/34607639048

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@spikecurtis spikecurtis marked this pull request as ready for review December 18, 2024 17:30
@spikecurtis spikecurtis merged commit 63572d9 into main Dec 19, 2024
41 checks passed
@spikecurtis spikecurtis deleted the spike/windows-pgcoord-heartbeat-timing branch December 19, 2024 09:49
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flake: TestPGCoordinatorSingle_MissedHeartbeats_NoDrop
2 participants