Commit ef42ecc1 authored by Julien Muchembled's avatar Julien Muchembled

qa: check cache in testExternalInvalidation

Both testExternalInvalidation & testExternalInvalidation2 check processing
of invalidations for an oid being loaded, the first one when the next tid needs
to be corrected, and the second when it's really None.
parent b44daf40
......@@ -949,6 +949,8 @@ class Test(NEOThreadedTest):
t.join()
self.assertEqual(x2.value, 1)
self.assertEqual(x1.value, 0)
self.assertEqual((x2._p_serial, x1._p_serial),
cluster.client._cache.load(x1._p_oid, x1._p_serial)[1:])
def invalidations(conn):
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment