mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 13:26:26 +08:00
Allow the node manager port and object manager port to be set through… (#3130)
* Allow the node manager port and object manager port to be set through ray start. * Linting * Fix Java test * Address comments.
This commit is contained in:
committed by
Philipp Moritz
parent
a404401dc6
commit
fd854ff090
@@ -285,9 +285,12 @@ def test_calling_start_ray_head():
|
||||
["ray", "start", "--head", "--node-ip-address", "127.0.0.1"])
|
||||
subprocess.Popen(["ray", "stop"]).wait()
|
||||
|
||||
# Test starting Ray with an object manager port specified.
|
||||
run_and_get_output(
|
||||
["ray", "start", "--head", "--object-manager-port", "12345"])
|
||||
# Test starting Ray with the object manager and node manager ports
|
||||
# specified.
|
||||
run_and_get_output([
|
||||
"ray", "start", "--head", "--object-manager-port", "12345",
|
||||
"--node-manager-port", "54321"
|
||||
])
|
||||
subprocess.Popen(["ray", "stop"]).wait()
|
||||
|
||||
# Test starting Ray with the number of CPUs specified.
|
||||
|
||||
Reference in New Issue
Block a user