Commit 2c4cbbd5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2f7e0cc2
......@@ -269,13 +269,25 @@ def test_zconn_at():
assert zconn_at(conn2) == at1
conn2.close()
# commit empty transaction - view stays in sync with storage head
#
# TODO zconn_at after empty commit (with fs1 currently gives future tid,
# but db is not updated and wcfs client resync to that future tid hangs)
conn3 = db.open()
assert conn3 is conn2 # from DB pool
assert zconn_at(conn3) == at1
transaction.commit()
zsync(stor)
at1_ = stor.lastTransaction()
assert zconn_at(conn3) == at1_
conn3.close()
# TODO commit -> know head -> open conn1,
# open conn2, commit there; wait or sync, make sure zconn_at(conn1) is as expected
# TODO zconn_at for historic connection
# TODO zconn_at after empty commit (with fs1 currently gives future tid,
# but db is not updated and wcfs client resync to that future tid hangs)
pass
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