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

Improve port selection algorithm #2

Open
borjasotomayor opened this issue Apr 21, 2013 · 0 comments
Open

Improve port selection algorithm #2

borjasotomayor opened this issue Apr 21, 2013 · 0 comments

Comments

@borjasotomayor
Copy link
Member

When randomizing the ports in the tests, a random port is chosen. If that doesn't work, the tests try two more times (with two other random ports). It's unlikely that the tests will choose three busy ports in a row, but it's not beyond the realm of possibility. The tests should explicitly check whether a port is available before choosing it.

@kevmo314 kevmo314 mentioned this issue Feb 11, 2014
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

No branches or pull requests

1 participant