summaryrefslogtreecommitdiffstats
path: root/Lib/test/_test_multiprocessing.py
diff options
context:
space:
mode:
authorRichard Oudkerk <roudkerk@google.com>2014-02-21 22:29:58 (GMT)
committerRichard Oudkerk <roudkerk@google.com>2014-02-21 22:29:58 (GMT)
commit42a526c60f29fd1d70f1bd890dbcd0887319ebc6 (patch)
tree4c3eded26040050a2180b9fa6d98e5bd0f84717f /Lib/test/_test_multiprocessing.py
parent0f55d9a80ed3182bbe7c382ceaa890f27b88d8c6 (diff)
downloadcpython-42a526c60f29fd1d70f1bd890dbcd0887319ebc6.zip
cpython-42a526c60f29fd1d70f1bd890dbcd0887319ebc6.tar.gz
cpython-42a526c60f29fd1d70f1bd890dbcd0887319ebc6.tar.bz2
Issue #20114: Double timeout in test_semaphore_tracker() to reduce
chance of sporadic failures.
Diffstat (limited to 'Lib/test/_test_multiprocessing.py')
-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 06d3ca9..8eb57fe 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