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

.

parent f4edeea3
...@@ -166,12 +166,15 @@ def test_wcfs_client(): ...@@ -166,12 +166,15 @@ def test_wcfs_client():
tm1.assertBlk(3, 'd3', {}) tm1.assertBlk(3, 'd3', {})
tm1.assertBlk(4, 'e3', {}) tm1.assertBlk(4, 'e3', {})
# mmap after .size completely (start > size)
m2 = fh.mmap(5, 2); defer(m2.unmap); tm2 = tMapping(t, m2)
tm2.assertBlk(5, '', {})
tm2.assertBlk(6, '', {})
# resync ↓ -> "forbidden" (reject is from server) -> wconn is down. # resync ↓ -> "forbidden" (reject is from server) -> wconn is down.
with raises(error, match=": going back in history is forbidden"): wconn.resync(at2) with raises(error, match=": going back in history is forbidden"): wconn.resync(at2)
with raises(error, match=".*: connection closed"): wconn.open(zf._p_oid) with raises(error, match=".*: connection closed"): wconn.open(zf._p_oid)
# XXX mmap after .size completely (start > size)
# XXX w mapping with RW - in sync # XXX w mapping with RW - in sync
# XXX fh close then open again and use # XXX fh close then open again and use
......
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