mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 20:06:31 +08:00
Fix test_actor_restart (#13901)
This commit is contained in:
@@ -115,6 +115,8 @@ def test_actor_restart(ray_init_with_task_retry_delay):
|
||||
ray.get(results[0])
|
||||
except ray.exceptions.RayActorError:
|
||||
results.pop(0)
|
||||
else:
|
||||
break
|
||||
# Check all tasks that executed after the restart.
|
||||
if results:
|
||||
# The actor executed some tasks after the restart.
|
||||
|
||||
Reference in New Issue
Block a user