mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
Fix bug in direct task calls for objects that were evicted (#6216)
* Fix bug and add some checks * rename
This commit is contained in:
@@ -2213,7 +2213,8 @@ def test_actor_eviction(ray_start_object_store_memory):
|
||||
num_evicted, num_success = 0, 0
|
||||
for obj in objects:
|
||||
try:
|
||||
ray.get(obj)
|
||||
val = ray.get(obj)
|
||||
assert isinstance(val, np.ndarray), val
|
||||
num_success += 1
|
||||
except ray.exceptions.UnreconstructableError:
|
||||
num_evicted += 1
|
||||
|
||||
Reference in New Issue
Block a user