From: Richard Oudkerk Date: Fri, 21 Feb 2014 22:29:58 +0000 (+0000) Subject: Issue #20114: Double timeout in test_semaphore_tracker() to reduce X-Git-Tag: v3.4.1rc1~233^2~248 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42a526c60f29fd1d70f1bd890dbcd0887319ebc6;p=python Issue #20114: Double timeout in test_semaphore_tracker() to reduce chance of sporadic failures. --- diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index 06d3ca97fc..8eb57fe87e 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -3651,7 +3651,7 @@ class TestSemaphoreTracker(unittest.TestCase): _multiprocessing.sem_unlink(name1) p.terminate() p.wait() - time.sleep(1.0) + time.sleep(2.0) with self.assertRaises(OSError) as ctx: _multiprocessing.sem_unlink(name2) # docs say it should be ENOENT, but OSX seems to give EINVAL