Enable Ray client server by default (#13350)

* update

* fix

* fix test

* update
This commit is contained in:
Eric Liang
2021-01-12 21:31:01 -08:00
committed by GitHub
parent 8e0a2f669b
commit 912d0cbbf9
3 changed files with 13 additions and 30 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ def debug(address):
"--ray-client-server-port",
required=False,
type=int,
default=None,
default=10001,
help="the port number the ray client server will bind on. If not set, "
"the ray client server will not be started.")
@click.option(
+2 -2
View File
@@ -33,7 +33,7 @@ _ = Actor.remote()
assert len(actor_table) == 1
job_table = ray.jobs()
assert len(job_table) == 2
assert len(job_table) == 3 # dash, ray client server
# Kill the driver process.
p.kill()
@@ -79,7 +79,7 @@ ray.get(_.value.remote())
assert len(actor_table) == 1
job_table = ray.jobs()
assert len(job_table) == 2
assert len(job_table) == 3 # dash, ray client server
# Kill the driver process.
p.kill()