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

randomize listen port. makes the tests pass on macos. #58

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

perbu
Copy link
Collaborator

@perbu perbu commented Nov 15, 2023

this one test was failing on macos. this fires up remotes on random ports on localhost. It'll likely use tcp6 where available, which is a bonus, I guess.

@anthdm
Copy link
Owner

anthdm commented Nov 17, 2023

@perbu ok nice catch. How do we proceed with this PR?

@perbu
Copy link
Collaborator Author

perbu commented Nov 17, 2023

I suggest we just merge it. The only issue would be the very small chance that we get a port conflict if the random generator would happen to return the same port twice. If you want I could add that, let me know. Changes are small as we pick a random port out of 50K or so.

@anthdm
Copy link
Owner

anthdm commented Nov 17, 2023

@perbu Yeah. We can merge this. Thanks again for your work! Really appreciate this.

@anthdm anthdm merged commit 51023ac into anthdm:master Nov 17, 2023
1 check passed
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