Try to enable dashboard (again) (#6069)

* Revert "Revert "Enable the Ray dashboard by default (#5976)" (#6068)"

This reverts commit 1a3e97cf23.

* fix tests that assume the dashboard isn't a job

* travis
This commit is contained in:
Eric Liang
2019-11-08 10:48:48 -08:00
committed by GitHub
parent 5a05eaaa54
commit 4044af8520
9 changed files with 39 additions and 35 deletions
+4 -2
View File
@@ -42,7 +42,7 @@ def test_worker_stats(ray_start_regular):
# Check that the rest of the processes are workers, 1 for each CPU.
print(reply)
assert len(reply.workers_stats) == num_cpus + 1
assert len(reply.workers_stats) >= num_cpus + 1
views = [view.view_name for view in reply.view_data]
assert "redis_latency" in views
assert "local_available_resource" in views
@@ -53,5 +53,7 @@ def test_worker_stats(ray_start_regular):
if p.info["pid"] in pids
]
for process in processes:
assert "python" in process or "ray" in process
# TODO(ekl): what is with travis/mi when running in Travis?
assert ("python" in process or "ray" in process
or "travis/mi" in process)
break