Add entries to in-memory store on Put() (#7085)

This commit is contained in:
Edward Oakes
2020-03-04 10:17:27 -08:00
committed by GitHub
parent aa4861c2a0
commit 0abcca258f
19 changed files with 186 additions and 196 deletions
+2 -2
View File
@@ -527,8 +527,8 @@ def test_put_pins_object(ray_start_object_store_memory):
del x_id
for _ in range(10):
ray.put(np.zeros(10 * 1024 * 1024))
with pytest.raises(ray.exceptions.UnreconstructableError):
ray.get(ray.ObjectID(x_binary))
assert not ray.worker.global_worker.core_worker.object_exists(
ray.ObjectID(x_binary))
# weakref put
y_id = ray.put("HI", weakref=True)