Commit daa9d2df authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 01b1d8d0
......@@ -192,10 +192,11 @@ def test_wcfs_client_down_efault():
fh = wconn.open(zf._p_oid)
defer(fh.close)
m1 = fh.mmap(2, 3)
m1 = fh.mmap(1, 4)
defer(m1.unmap)
tm1 = tMapping(t, m1)
tm1.assertBlk(1, '', {})
tm1.assertBlk(2, 'c1', {})
tm1.assertBlk(3, 'd1', {})
tm1.assertBlk(4, '', {})
......@@ -205,6 +206,7 @@ def test_wcfs_client_down_efault():
# close fileh -> m1 must turn into efaulting memory
fh.close()
tm1.assertBlkFaults(1)
tm1.assertBlkFaults(2)
tm1.assertBlkFaults(3)
tm1.assertBlkFaults(4)
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