Commit 9ff5ed32 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2e3e2c60
...@@ -260,10 +260,10 @@ def test_zconn_at(): ...@@ -260,10 +260,10 @@ def test_zconn_at():
root1 = conn1.root() root1 = conn1.root()
root1['z'] = 1 root1['z'] = 1
tm1.commit() tm1.commit()
# after commit conn1 view is updated; conn2 view stays @at0
zsync(stor) zsync(stor)
at1 = stor.lastTransaction() at1 = stor.lastTransaction()
# after commit conn1 view is updated; conn2 view stays @at0
assert zconn_at(conn1) == at1 assert zconn_at(conn1) == at1
assert zconn_at(conn2) == at0 assert zconn_at(conn2) == at0
...@@ -287,9 +287,9 @@ def test_zconn_at(): ...@@ -287,9 +287,9 @@ def test_zconn_at():
assert zconn_at(conn1) == at1 assert zconn_at(conn1) == at1
assert zconn_at(conn2) == at0 assert zconn_at(conn2) == at0
tm1.commit() tm1.commit()
zsync(stor) zsync(stor)
at1_ = stor.lastTransaction() at1_ = stor.lastTransaction()
assert zconn_at(conn1) == at1_ assert zconn_at(conn1) == at1_
assert zconn_at(conn2) == at0 assert zconn_at(conn2) == at0
......
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