[api] Second round of 1.0 API changes: exceptions, num_return_vals (#10377)

This commit is contained in:
Eric Liang
2020-08-28 19:57:02 -07:00
committed by GitHub
parent b1f3c9e10e
commit 2a204260a8
37 changed files with 180 additions and 204 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ def test_worker_failed(ray_start_workers_separate_multinode):
for object_ref in object_refs:
try:
ray.get(object_ref)
except (ray.exceptions.RayTaskError, ray.exceptions.RayWorkerError):
except (ray.exceptions.RayTaskError,
ray.exceptions.WorkerCrashedError):
pass