[Zodb-checkins] CVS: ZODB3/ZODB/tests - TransactionalUndoStorage.py:1.21.6.4

Tim Peters tim.one at comcast.net
Fri Jan 16 14:23:25 EST 2004


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv26601/ZODB/tests

Modified Files:
      Tag: Zope-2_6-branch
	TransactionalUndoStorage.py 
Log Message:
checkPackAfterUndoDeletion():  the new fix for "redundant" packs caused
trouble here on Windows, due to the poor granulatiry of Windows time.time()
feeding into pack-time selection in this test.  Moved the snooze() from
before pack time selection to after it, which appears to be a sufficient
fix; this can't hurt Linux, because the snooze() calls aren't needed at
all there (but don't hurt either).


=== ZODB3/ZODB/tests/TransactionalUndoStorage.py 1.21.6.3 => 1.21.6.4 ===
--- ZODB3/ZODB/tests/TransactionalUndoStorage.py:1.21.6.3	Wed May 14 10:55:43 2003
+++ ZODB3/ZODB/tests/TransactionalUndoStorage.py	Fri Jan 16 14:23:16 2004
@@ -565,8 +565,8 @@
 
         pack_times = []
         def set_pack_time():
-            snooze()
             pack_times.append(time.time())
+            snooze()
 
         root["key0"] = MinPO(0)
         root["key1"] = MinPO(1)




More information about the Zodb-checkins mailing list