summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-11-17 17:45:16 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-11-17 17:45:16 (GMT)
commit46b4a5e51e632899e268a39330374f20af50a056 (patch)
tree1c797ecc0edabd3d47e0709a57966ae97d0b7da9
parent8731d7b3c69beb226562c5fc2b382af9249fec5c (diff)
downloadcpython-46b4a5e51e632899e268a39330374f20af50a056.zip
cpython-46b4a5e51e632899e268a39330374f20af50a056.tar.gz
cpython-46b4a5e51e632899e268a39330374f20af50a056.tar.bz2
Issue #19599: Increase sleep period.
-rw-r--r--Lib/test/test_multiprocessing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 77ad0f7..27db029 100644
--- a/Lib/test/test_multiprocessing.py
+++ b/Lib/test/test_multiprocessing.py
@@ -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)