[Zodb-checkins] CVS: ZODB4/src/zodb/storage/tests - undo.py:1.5.4.4
Barry Warsaw
barry@wooz.org
Thu, 13 Mar 2003 11:14:05 -0500
Update of /cvs-repository/ZODB4/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv9184
Modified Files:
Tag: opaque-pickles-branch
undo.py
Log Message:
Merging in from the HEAD
=== ZODB4/src/zodb/storage/tests/undo.py 1.5.4.3 => 1.5.4.4 ===
--- ZODB4/src/zodb/storage/tests/undo.py:1.5.4.3 Wed Mar 12 16:11:58 2003
+++ ZODB4/src/zodb/storage/tests/undo.py Thu Mar 13 11:14:04 2003
@@ -464,6 +464,10 @@
now = packtime = time.time()
while packtime <= now:
packtime = time.time()
+ time.sleep(0.1)
+ # Now be sure that revid2 has a timestamp after packtime
+ while packtime >= time.time():
+ time.sleep(0.1)
revid2 = self._dostore(oid, revid=revid1, data=MinPO(52))
revid3 = self._dostore(oid, revid=revid2, data=MinPO(53))
# Now get the undo log