Skip to content

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Dec 2, 2022

Fixes: #5249

This PR extends the behavior of httpClient to retry in case of a Bad Gateway error. While running in parallel, some requests end with HTTP 502 and could be replayed.

If that idea works well, we can expand it to other coderd tests.

BTW With require.Eventually equal to testutil.WaitShort, I can reproduce the issue on my macbook.

@mtojek mtojek requested a review from a team December 2, 2022 15:57
@mtojek mtojek self-assigned this Dec 2, 2022
@mtojek mtojek marked this pull request as ready for review December 2, 2022 15:58
@mtojek mtojek merged commit 137a48c into coder:main Dec 2, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2022
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.

flake: TestWorkspaceApplicationAuth
2 participants