Change Python's ObjectID to ObjectRef (#9353)

This commit is contained in:
Hao Chen
2020-07-10 17:49:04 +08:00
committed by GitHub
parent 6311e5a947
commit d49dadf891
91 changed files with 959 additions and 907 deletions
+2 -2
View File
@@ -223,9 +223,9 @@ def test_fast(shutdown_only, use_force):
if random.random() > 0.95:
ray.cancel(ids[idx], use_force)
signaler.send.remote()
for obj_id in ids:
for obj_ref in ids:
try:
ray.get(obj_id)
ray.get(obj_ref)
except Exception as e:
assert isinstance(e, valid_exceptions(use_force))