-
Notifications
You must be signed in to change notification settings - Fork 328
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
Use OS-designated ports instead of random ports to create sub pools #3053
Conversation
2445907
to
e26a067
Compare
8d9722c
to
592e8a7
Compare
…ync fixtures (mars-project#3025)" This reverts commit 4be160f
b6847d6
to
a46e9f0
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.
LGTM, about router.set_instance(None), another PR can be raised.
|
||
mars.stop_server() | ||
mars.stop_server() | ||
Router.set_instance(None) |
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.
How about including cleaning router into stop server?
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.
LGTM
What do these changes do?
It is often hard to obtain free ports, esp. in containers with host ports. It is better to assign ports of sub-pools by OS itself.
Related issue number
Fixes #xxxx
Check code requirements