Commit 5e8a3cc2 authored by Christian Theune's avatar Christian Theune

- fix undo test to snooze() before determining the pack time

parent b5df74af
......@@ -431,6 +431,7 @@ class TransactionalUndoStorage:
# Add a few object revisions
oid = self._storage.new_oid()
revid1 = self._dostore(oid, data=MinPO(51))
snooze()
packtime = time.time()
snooze() # time.time() now distinct from packtime
revid2 = self._dostore(oid, revid=revid1, data=MinPO(52))
......
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