Commit 2c3deaab authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0398e23d
......@@ -973,15 +973,16 @@ def test_wcfs():
ev.append('pin ack')
pin.ack()
assert f.cached()[2] == 0
blk = f.blk(2)
assert f.cached()[2] == 0
ev.append('read pre')
blk[0] # read access -> XXX without GIL
ev.append('read post')
assert f.cached()[2] > 0
f.assertBlk(2, '4c')
assert ev == ['read pre', 'pin rx', 'pin ack', 'read post']
assert f.cached()[2] == 1
# XXX commit after current file size -> watch
......
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