mirror of
https://github.com/wassname/ray.git
synced 2026-08-09 12:20:09 +08:00
[Dashboard][Bugfix] Fix GPU List Bug (#12666)
* Fix bug where None was passed as the empty value for ActorInfo.gpu_stats instead of an empty list * lint * dashboard/modules/logical_view * fix test * trigger build
This commit is contained in:
@@ -54,6 +54,13 @@ def test_actor_groups(ray_start_with_dashboard):
|
||||
assert summary["stateToCount"]["ALIVE"] == 2
|
||||
|
||||
entries = actor_groups["Foo"]["entries"]
|
||||
foo_entry = entries[0]
|
||||
assert type(foo_entry["gpus"]) is list
|
||||
assert "timestamp" in foo_entry
|
||||
assert "actorConstructor" in foo_entry
|
||||
assert "actorClass" in foo_entry
|
||||
assert "actorId" in foo_entry
|
||||
assert "ipAddress" in foo_entry
|
||||
assert len(entries) == 2
|
||||
assert "InfeasibleActor" in actor_groups
|
||||
|
||||
|
||||
Reference in New Issue
Block a user