[Checkins] SVN: ZODB/trunk/src/ZODB/tests/TransactionalUndoStorage.py - fix undo test to snooze() before determining the pack time

Christian Theune ct at gocept.com
Mon Feb 26 10:28:35 EST 2007


Log message for revision 72813:
   - fix undo test to snooze() before determining the pack time
  

Changed:
  U   ZODB/trunk/src/ZODB/tests/TransactionalUndoStorage.py

-=-
Modified: ZODB/trunk/src/ZODB/tests/TransactionalUndoStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/TransactionalUndoStorage.py	2007-02-26 15:15:37 UTC (rev 72812)
+++ ZODB/trunk/src/ZODB/tests/TransactionalUndoStorage.py	2007-02-26 15:28:35 UTC (rev 72813)
@@ -431,6 +431,7 @@
         # 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))



More information about the Checkins mailing list