[Dashboard] Add logical view displaying actor tree (#6810)

* [Dashboard] Add logical view displaying actor tree

* Fix key error in test_raylet_info_endpoint
This commit is contained in:
Mitchell Stern
2020-01-17 10:25:27 -08:00
committed by Philipp Moritz
parent 5f36e6eacb
commit 9f96091aef
12 changed files with 384 additions and 98 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ def test_raylet_info_endpoint(shutdown_only):
webui_url = addresses["webui_url"]
webui_url = webui_url.replace("localhost", "http://127.0.0.1")
raylet_info = requests.get(webui_url + "/api/raylet_info").json()
actor_info = raylet_info["result"]["actorInfo"]
actor_info = raylet_info["result"]["actors"]
try:
assert len(actor_info) == 1
_, parent_actor_info = actor_info.popitem()