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

chore: update tests to use unique ports #2280

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Conversation

jackwotherspoon
Copy link
Collaborator

All of the tests in proxy_test.go use either port 50000 or 60000.

This has caused several flaky tests issues to arise with the error listen tcp :50000: bind: address already in use.

To mitigate this issue we can increment the ports in tests to all use unique ports.
This will also allow isolating which tests are causing trouble based on the port.

Fixes #2166

@jackwotherspoon jackwotherspoon self-assigned this Jul 29, 2024
@jackwotherspoon jackwotherspoon requested a review from a team as a code owner July 29, 2024 12:52
@jackwotherspoon jackwotherspoon merged commit 5ff61de into main Jul 29, 2024
12 checks passed
@jackwotherspoon jackwotherspoon deleted the jackwotherspoon-patch-1 branch July 29, 2024 15:11
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.

v2/internal/proxy: TestClientInitialization failed
2 participants