diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2013-11-17 17:45:16 (GMT) |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2013-11-17 17:45:16 (GMT) |
commit | 46b4a5e51e632899e268a39330374f20af50a056 (patch) | |
tree | 1c797ecc0edabd3d47e0709a57966ae97d0b7da9 /Lib | |
parent | 8731d7b3c69beb226562c5fc2b382af9249fec5c (diff) | |
download | cpython-46b4a5e51e632899e268a39330374f20af50a056.zip cpython-46b4a5e51e632899e268a39330374f20af50a056.tar.gz cpython-46b4a5e51e632899e268a39330374f20af50a056.tar.bz2 |
Issue #19599: Increase sleep period.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_multiprocessing.py | 2 |
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) |