Commit b5dce4cc authored by Christian Theune's avatar Christian Theune

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

parent a303235c
......@@ -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