Fix test_raylet_pending_tasks test case failed (#7636)

This commit is contained in:
fangfengbin
2020-03-19 11:09:38 +08:00
committed by GitHub
parent ee49f4a875
commit fca9dc73e1
+4 -1
View File
@@ -300,7 +300,10 @@ def test_raylet_pending_tasks(shutdown_only):
def __init__(self):
self.a = [ActorRequiringGPU.remote() for i in range(4)]
ParentActor.remote()
# If we do not get ParentActor actor handler, reference counter will
# terminate ParentActor.
parent_actor = ParentActor.remote()
assert parent_actor is not None
def test_pending_actor(ray_addresses):
webui_url = ray_addresses["webui_url"].replace("localhost",