[Zope-Checkins] CVS: ZODB3/ZODB/tests - MTStorage.py:1.5

Guido van Rossum guido@python.org
Wed, 11 Sep 2002 15:47:20 -0400


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

Modified Files:
	MTStorage.py 
Log Message:
A ZEO tests based on the MTStorage test failed randomly on Win98.
Increase the timeout from 10 to 30 seconds and add a message to the
failIf() call.


=== ZODB3/ZODB/tests/MTStorage.py 1.4 => 1.5 ===
--- ZODB3/ZODB/tests/MTStorage.py:1.4	Wed Aug 14 18:07:09 2002
+++ ZODB3/ZODB/tests/MTStorage.py	Wed Sep 11 15:47:20 2002
@@ -170,9 +170,9 @@
         for t in threads:
             t.start()
         for t in threads:
-            t.join(10)
+            t.join(30)
         for t in threads:
-            self.failIf(t.isAlive())
+            self.failIf(t.isAlive(), "thread failed to finish in 30 seconds")
 
     def check2ZODBThreads(self):
         db = ZODB.DB(self._storage)