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

Shifts tests to use random ports #998

Merged
merged 1 commit into from
Apr 16, 2020
Merged

Shifts tests to use random ports #998

merged 1 commit into from
Apr 16, 2020

Conversation

AgeManning
Copy link
Member

Some tests appear to overlap on ports and fail CI non-deterministically.

This shifts some of the tests to use random open ports. Although there is still a chance ports can clash (as some tests use sequential port numbers) the probability of clashes should be low enough that it doesn't warrant changing the tests to check for random ports for each node.

Should CI continue to fail, a more rigorous method should be employed.

@AgeManning AgeManning added the ready-for-review The code is ready for review label Apr 14, 2020
@AgeManning
Copy link
Member Author

Should address #942

@paulhauner paulhauner added ready-to-squerge and removed ready-for-review The code is ready for review labels Apr 16, 2020
@AgeManning AgeManning merged commit a8ee338 into master Apr 16, 2020
@AgeManning AgeManning deleted the random-ports-test branch June 12, 2020 03: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