Skip to content

chore(healthcheck): fix DERP test flakes #7211

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 3 commits into from
Apr 20, 2023
Merged

chore(healthcheck): fix DERP test flakes #7211

merged 3 commits into from
Apr 20, 2023

Conversation

coadler
Copy link
Contributor

@coadler coadler commented Apr 19, 2023

It seems like the test flakes are from the DERP message getting lost. This adds a retry to the DERP exchange.

@coadler coadler self-assigned this Apr 19, 2023
@coadler coadler requested a review from deansheather April 19, 2023 21:45
@coadler coadler merged commit 5f5edb1 into main Apr 20, 2023
@coadler coadler deleted the colin/derp-flake branch April 20, 2023 01:03
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2023

r.mu.Lock()
r.CanExchangeMessages = true
r.RoundTripPing = time.Since(t)
r.RoundTripPing = time.Since(*t)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the send loop updates last sent every second, do we know that we're actually benchmarking the correct ping/ping?

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.

3 participants