mirror of
https://github.com/wassname/ray.git
synced 2026-09-30 11:40:50 +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:
1 parent
a404401dc6
commit
fd854ff090
8 files changed
+104
-32
No files matched your search
@@ -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