Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: fix TestPGCoordinatorSingle_MissedHeartbeats flake#13686

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedJun 27, 2024
edited
Loading

Fixes flake seen here:https://github.com/coder/coder/actions/runs/9695396986/job/26755085673

Problem is that with the mockedClock we were trapping the first call into the clock to ensure the heartbeat was processes, but instead we should trap the last call, otherwise advancing the time can race with heartbeat processing.

@spikecurtisGraphite App
Copy link
ContributorAuthor

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

Join@spikecurtis and the rest of your teammates onGraphiteGraphite

@spikecurtisspikecurtis marked this pull request as ready for reviewJune 27, 2024 12:36
@spikecurtisspikecurtis merged commitce7f13c intomainJun 27, 2024
32 checks passed
@spikecurtisspikecurtis deleted the spike/TestPGCoordinatorSingle_MissedHeartbeats-flake branchJune 27, 2024 15:17
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 27, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@spikecurtis@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp