[Zodb-checkins] CVS: ZODB3/ZODB/tests - VersionStorage.py:1.17.4.4

Tim Peters tim.one at comcast.net
Tue Aug 26 22:11:17 EDT 2003


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

Modified Files:
      Tag: ZODB3-3_1-branch
	VersionStorage.py 
Log Message:
checkPackVersionReachable():  Used time.time() to drive a pack() without
a preceding snooze() call, causing sporadice test failure on Windows.


=== ZODB3/ZODB/tests/VersionStorage.py 1.17.4.3 => 1.17.4.4 ===
--- ZODB3/ZODB/tests/VersionStorage.py:1.17.4.3	Tue May 13 18:20:14 2003
+++ ZODB3/ZODB/tests/VersionStorage.py	Tue Aug 26 21:11:17 2003
@@ -488,6 +488,7 @@
 
         root["d"] = MinPO("d")
         get_transaction().commit()
+        snooze()
 
         self._storage.pack(time.time(), referencesf)
         cn.sync()




More information about the Zodb-checkins mailing list