Commit 63ae8326 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4eb6b65e
...@@ -1285,8 +1285,8 @@ def test_wcfs_basic_hole2zblk(): ...@@ -1285,8 +1285,8 @@ def test_wcfs_basic_hole2zblk():
f.assertCache([1,0,1]) f.assertCache([1,0,1])
f.assertData(['','b2','c1']) f.assertData(['','b2','c1'])
# XXX ZBlk copied from blk1 -> blk2 ; for the same file and for file1 -> file2 (δbtree) # TODO ZBlk copied from blk1 -> blk2 ; for the same file and for file1 -> file2
# XXX ZBlk moved from blk1 -> blk2 ; for the same file and for file1 -> file2 (δbtree) # TODO ZBlk moved from blk1 -> blk2 ; for the same file and for file1 -> file2
# verify that read after file size returns (0, ok) # verify that read after file size returns (0, ok)
# (the same behaviour as on e.g. ext4 and as requested by posix) # (the same behaviour as on e.g. ext4 and as requested by posix)
...@@ -1404,7 +1404,6 @@ def test_wcfs_watch_robust(): ...@@ -1404,7 +1404,6 @@ def test_wcfs_watch_robust():
wl.close() wl.close()
# verify that `watch file @at` -> error, for @at when file did not existed. # verify that `watch file @at` -> error, for @at when file did not existed.
@xfail # check that file exists @at
@func @func
def test_wcfs_watch_before_create(): def test_wcfs_watch_before_create():
t = tDB(); zf = t.zfile t = tDB(); zf = t.zfile
...@@ -1422,7 +1421,7 @@ def test_wcfs_watch_before_create(): ...@@ -1422,7 +1421,7 @@ def test_wcfs_watch_before_create():
wl = t.openwatch() wl = t.openwatch()
assert wl.sendReq(timeout(), b"watch %s @%s" % (h(zf2._p_oid), h(at1))) == \ assert wl.sendReq(timeout(), b"watch %s @%s" % (h(zf2._p_oid), h(at1))) == \
"error setup watch f<%s> @%s: " % (h(zf2._p_oid), h(at1)) + \ "error setup watch f<%s> @%s: " % (h(zf2._p_oid), h(at1)) + \
"file does not exist at that database state" "file epoch detected @%s in between (at,head=@%s]" % (h(at2), h(t.head))
wl.close() wl.close()
......
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