[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cvs
Subject:    [Zope-Checkins] CVS: ZODB3/ZODB/tests - VersionStorage.py:1.17.4.4
From:       Tim Peters <tim.one () comcast ! net>
Date:       2003-08-27 1:11:17
[Download RAW message or body]

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()


_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic