-
Notifications
You must be signed in to change notification settings - Fork 202
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
change default ports #289
change default ports #289
Conversation
It looks like there are a In particular, the |
@HalosGhost Yep - I can go through the other tests and make those changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
T-ACK. This is useful when running on my local system since port 5000 is often occupied. I approve of these changes but second @HalosGhost 's comment that this should be replicated elsewhere in the code.
Signed-off-by: eolesinski <eo2454@columbia.edu>
21bc02e
to
a6c9818
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
T-ACK. Updates the ports-used-for-test to be outside the range of typically used ports. MacOS AirPlay users rejoice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
T-ACK. Just swaps out the default ports we use to something less crowded. Hopefully defaults to causing far fewer headaches!
Thanks @eolesinski
This PR addresses issue #97 by updating the port numbers used in the
raft_test.cpp
unit tests to a higher range (29800-29802) to avoid conflicts with commonly used ports.Port conflicts with 5000 are frequent, especially with the docker-registry and Apple's AirPlay Receiver on MacOS. To address this issue, the default ports are updated to 298xx, following the convention outlined in #259.
Tested: tested by running
./scripts/test.sh
EDIT: This change now updates all test endpoints that use ports at 5xxx