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

tests(axum): create SocketAddr to fix flappy test #1176

Merged
merged 2 commits into from Jun 2, 2022
Merged

Conversation

bnjjj
Copy link
Contributor

@bnjjj bnjjj commented Jun 2, 2022

If we do not create this SocketAddr it will use the default one and then listen on the same port than another test. Which means sometimes it will work, sometimes not because the port has already been used.

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
@bnjjj bnjjj requested review from Geal and o0Ignition0o June 2, 2022 09:26
@bnjjj bnjjj self-assigned this Jun 2, 2022
@netlify
Copy link

netlify bot commented Jun 2, 2022

Deploy Preview for apollo-router-docs failed.

Name Link
🔨 Latest commit 3e96b37
🔍 Latest deploy log https://app.netlify.com/sites/apollo-router-docs/deploys/62988310f63ea2000972cca2

@github-actions

This comment has been minimized.

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
@bnjjj bnjjj enabled auto-merge (squash) June 2, 2022 09:30
@bnjjj bnjjj merged commit f304c21 into main Jun 2, 2022
@bnjjj bnjjj deleted the bnjjj/fix_flappy_test branch June 2, 2022 09:40
@bnjjj bnjjj added this to the v0.9.4 milestone Jun 14, 2022
This was referenced Jun 14, 2022
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.

None yet

3 participants