mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 07:04:46 +08:00
[api] Second round of 1.0 API changes: exceptions, num_return_vals (#10377)
This commit is contained in:
@@ -63,7 +63,7 @@ def test_actor_eviction(ray_start_regular):
|
||||
val = ray.get(obj)
|
||||
assert isinstance(val, np.ndarray), val
|
||||
num_success += 1
|
||||
except ray.exceptions.UnreconstructableError:
|
||||
except ray.exceptions.ObjectLostError:
|
||||
num_evicted += 1
|
||||
# Some objects should have been evicted, and some should still be in the
|
||||
# object store.
|
||||
|
||||
Reference in New Issue
Block a user