Report census view data as part of raylet node stats (#6060)

This commit is contained in:
Eric Liang
2019-11-01 14:26:09 -07:00
committed by GitHub
parent c8d7065bf3
commit eef4ad3bba
4 changed files with 87 additions and 2 deletions
+4
View File
@@ -41,7 +41,11 @@ def test_worker_stats(ray_start_regular):
continue
# Check that the rest of the processes are workers, 1 for each CPU.
print(reply)
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
# Check that all processes are Python.
pids = [worker.pid for worker in reply.workers_stats]
processes = [