Skip to content
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

fix: Flaky TestInvalidServer #1029

Merged
merged 1 commit into from
Feb 7, 2025
Merged

fix: Flaky TestInvalidServer #1029

merged 1 commit into from
Feb 7, 2025

Conversation

guillaumemichel
Copy link
Contributor

Fixes #1023

3 distinct failures reproduced locally

  • Application error 0x0 (local) comes from quic-go and was occurring because ctx was cancelled already but we are trying to read from the stream. Returning after ctx cancel does the trick
  • Expected to get a provider back solved like fix: flaky TestClientModeConnect #1028
  • Well behaving DHT server should have been added to the server routing table occurred just once locally. Give a second chance for s1 to be included in s0's routing table after sleeping if not found immediately.

@guillaumemichel guillaumemichel requested a review from a team as a code owner February 7, 2025 16:50
@guillaumemichel guillaumemichel merged commit 23344be into master Feb 7, 2025
6 of 7 checks passed
@guillaumemichel guillaumemichel deleted the fix/1023 branch February 7, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky TestInvalidServer
1 participant