Commit 93b8fbed authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5ce08a73
...@@ -1759,13 +1759,23 @@ def test_wcfspy_virtmem(): ...@@ -1759,13 +1759,23 @@ def test_wcfspy_virtmem():
#tm1.assertBlk(4, '') #tm1.assertBlk(4, '')
assert f.pinned == {2:at1} assert f.pinned == {2:at1}
#assertData (m1, ['c1','d1',''])
at3 = t.commit(zf, {3:'d3'}) at3 = t.commit(zf, {3:'d3'})
assert f.pinned == {2:at1} assert f.pinned == {2:at1}
tm1.assertBlk(3, 'd1') tm1.assertBlk(3, 'd1')
assert f.pinned == {2:at1, 3:at1} assert f.pinned == {2:at1, 3:at1}
# resync at1 -> at2: #2 must unpin to @head
wconn.resync(at2)
assert f.pinned == {3:at1}
tm1.assertBlk(2, 'c2')
tm1.assertBlk(3, 'd3')
# XXX w mapping with RW - in sync
# ---- misc --- # ---- misc ---
......
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