mirror of
https://github.com/wassname/ray.git
synced 2026-08-10 12:30:14 +08:00
Cache plasma object information on the plasma client (#73)
* Cache plasma object information on the plasma client * Plasma client uses cached object references to get the object data
This commit is contained in:
committed by
Philipp Moritz
parent
f89be9699c
commit
dadbcae17d
@@ -206,8 +206,8 @@ class TestPlasmaClient(unittest.TestCase):
|
||||
object_id3 = random_object_id()
|
||||
b2 = client.create(object_id2, 999)
|
||||
b3 = client.create(object_id3, 998)
|
||||
del b3
|
||||
client.seal(object_id3)
|
||||
del b3
|
||||
self.assertEqual(client.evict(1000), 998)
|
||||
|
||||
object_id4 = random_object_id()
|
||||
|
||||
Reference in New Issue
Block a user