Commit 6b79136e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c0446344
......@@ -190,8 +190,6 @@ def test_wcfs_client():
with raises(error, match=": going back in history is forbidden"): wconn.resync(at2)
with raises(error, match=".*: connection closed"): wconn.open(zf._p_oid)
# XXX w mapping with RW - in sync
# verify that on Conn/FileH down/closed -> Mappings switch to EFAULT on access.
@func
......@@ -282,6 +280,9 @@ def test_wcfs_client_down_efault():
with raises(error, match=".*: file already closed"): fh1.mmap(2, 3) # fh1 was explicitly closed ^^^
# TODO try to unit test at wcfs client level wcfs.Mapping with dirty RW page -
# that it stays in sync with DB after dirty discard.
# verify that read_mustfault works as expected.
def test_read_mustfault():
mem = mm.map_zero_ro(mm.PAGE_SIZE)
......
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