mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 22:51:19 +08:00
[api] Second round of 1.0 API changes: exceptions, num_return_vals (#10377)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user