Skip to content

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Jan 9, 2024

Fixes #11517

My read of the original issue is that m.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.

@johnstcn johnstcn requested a review from spikecurtis January 9, 2024 16:48
@johnstcn johnstcn self-assigned this Jan 9, 2024
@johnstcn johnstcn merged commit 5ecb0db into main Jan 10, 2024
@johnstcn johnstcn deleted the cj/flake-testagentwebocketmonitor-sendpings branch January 10, 2024 08:45
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 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.

test flake: TestAgentWebsocketMonitor_SendPings
2 participants