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 TestDo_RetryOnTimeout flakiness #1764

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

pakrym-stripe
Copy link
Contributor

Both the service sleep and the request timeout were 1 sec. Most of the time timeout won the race but in rare cases server managed to response before the timeout ticked in.

Make timeout 1/2 of the sleep time.

@pakrym-stripe pakrym-stripe enabled auto-merge (squash) November 10, 2023 22:07
@pakrym-stripe pakrym-stripe merged commit ea2313a into master Nov 10, 2023
8 checks passed
@pakrym-stripe pakrym-stripe deleted the pakrym/Fix_TestDo_RetryOnTimeout_flakiness branch November 10, 2023 22:09
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.

2 participants