[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/BasicStorage.py Give a join more time to try to avoid spurious errors.

Jim Fulton jim at zope.com
Fri Sep 24 15:40:01 EDT 2010


Log message for revision 116792:
  Give a join more time to try to avoid spurious errors.
  

Changed:
  U   ZODB/trunk/src/ZODB/tests/BasicStorage.py

-=-
Modified: ZODB/trunk/src/ZODB/tests/BasicStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/BasicStorage.py	2010-09-24 19:39:59 UTC (rev 116791)
+++ ZODB/trunk/src/ZODB/tests/BasicStorage.py	2010-09-24 19:40:01 UTC (rev 116792)
@@ -266,7 +266,7 @@
         # We'll run the competing trans in a separate thread:
         thread = self._do_store_in_separate_thread(oid, tid2, True)
         self._storage.tpc_finish(t)
-        thread.join(1)
+        thread.join(33)
 
         tid3 = self._storage.load(oid)[1]
         self.assert_(tid3 > self._storage.load('\0\0\0\0\0\0\0\xf3')[1])



More information about the Zodb-checkins mailing list