]> granicus.if.org Git - python/commitdiff
issue 10237
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Sat, 30 Oct 2010 05:15:42 +0000 (05:15 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Sat, 30 Oct 2010 05:15:42 +0000 (05:15 +0000)
Increase the default timout of the barries used in the barrier tests.  This should solve unexpected timeouts on some machines.

Lib/test/lock_tests.py

index f256a807fad0e6e98d68e2284165303f886a4f54..9fd0fe753dff48731edd9c414494f09ddf26d5c3 100644 (file)
@@ -606,7 +606,7 @@ class BarrierTests(BaseTestCase):
     N = 5
 
     def setUp(self):
-        self.barrier = self.barriertype(self.N, timeout=0.1)
+        self.barrier = self.barriertype(self.N, timeout=0.5)
     def tearDown(self):
         self.barrier.abort()