mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user