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

chore(coderd): fix test flake in TestAgentWebsocketMonitor_SendPings#11518

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

Merged
johnstcn merged 1 commit intomainfromcj/flake-testagentwebocketmonitor-sendpings
Jan 10, 2024

Conversation

johnstcn
Copy link
Member

Fixes#11517

My read of the original issue is thatm.lastPing can be stored in between

        fConn.requireEventuallyHasPing(t)

and

lastPing := uut.lastPing.Load()

Triggering cancellation before checking lastPing should allow the for loop to complete its iteration through to storing lastPing.

@johnstcnjohnstcn self-assigned thisJan 9, 2024
@johnstcnjohnstcn merged commit5ecb0db intomainJan 10, 2024
@johnstcnjohnstcn deleted the cj/flake-testagentwebocketmonitor-sendpings branchJanuary 10, 2024 08:45
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 10, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@spikecurtisspikecurtisspikecurtis approved these changes

Assignees

@johnstcnjohnstcn

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

test flake: TestAgentWebsocketMonitor_SendPings

2 participants

@johnstcn@spikecurtis

[8]ページ先頭

©2009-2025 Movatter.jp