Commit 8e6a0000 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 835aec09
......@@ -1738,7 +1738,7 @@ def test_wcfspy_virtmem():
wconn = t.wc.connect(at1)
defer(wconn.close)
# mmap with 1 block beyond file size
# create mmap with 1 block beyond file size
m1 = wconn.mmap(zf._p_oid, 2, 3)
defer(m1.unmap)
......@@ -1752,7 +1752,7 @@ def test_wcfspy_virtmem():
#assertCache(m1, [0,0,0])
assert f.pinned == {}
# initial data reads
# verify initial data reads
tm1.assertBlk(2, 'c1')
assert f.pinned == {2:at1}
tm1.assertBlk(3, 'd1')
......@@ -1760,7 +1760,7 @@ def test_wcfspy_virtmem():
tm1.assertBlk(4, '')
assert f.pinned == {2:at1}
# commit with growing file size -> verify data read as the same, #3 pinned
# commit with growing file size -> verify data read as the same, #3 pinned.
# (#4 is not yet pinned because it was not accessed)
at3 = t.commit(zf, {3:'d3', 4:'e3'})
assert f.pinned == {2:at1}
......
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