]> granicus.if.org Git - python/commitdiff
Issue #19599: Increase sleep period.
authorRichard Oudkerk <shibturn@gmail.com>
Sun, 17 Nov 2013 17:45:16 +0000 (17:45 +0000)
committerRichard Oudkerk <shibturn@gmail.com>
Sun, 17 Nov 2013 17:45:16 +0000 (17:45 +0000)
Lib/test/test_multiprocessing.py

index 77ad0f733edfebc5bc13bf96df96f4431bdb2b88..27db029b3c65f663c55dff1959caf4d6a6913eb8 100644 (file)
@@ -1714,7 +1714,7 @@ class _TestPool(BaseTestCase):
         self.assertTimingAlmostEqual(get.elapsed, TIMEOUT1)
 
     def test_async_timeout(self):
-        res = self.pool.apply_async(sqr, (6, TIMEOUT2 + 0.2))
+        res = self.pool.apply_async(sqr, (6, TIMEOUT2 + 1.0))
         get = TimingWrapper(res.get)
         self.assertRaises(multiprocessing.TimeoutError, get, timeout=TIMEOUT2)
         self.assertTimingAlmostEqual(get.elapsed, TIMEOUT2)