mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
This reverts commit 4044af8520.
This commit is contained in:
committed by
Eric Liang
parent
b924299833
commit
f24d96ec4f
@@ -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,7 +53,5 @@ def test_worker_stats(ray_start_regular):
|
||||
if p.info["pid"] in pids
|
||||
]
|
||||
for process in processes:
|
||||
# TODO(ekl): what is with travis/mi when running in Travis?
|
||||
assert ("python" in process or "ray" in process
|
||||
or "travis/mi" in process)
|
||||
assert "python" in process or "ray" in process
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user