Kaydet (Commit) 42a526c6 authored tarafından Richard Oudkerk's avatar Richard Oudkerk

Issue #20114: Double timeout in test_semaphore_tracker() to reduce

chance of sporadic failures.
üst 0f55d9a8
...@@ -3651,7 +3651,7 @@ class TestSemaphoreTracker(unittest.TestCase): ...@@ -3651,7 +3651,7 @@ class TestSemaphoreTracker(unittest.TestCase):
_multiprocessing.sem_unlink(name1) _multiprocessing.sem_unlink(name1)
p.terminate() p.terminate()
p.wait() p.wait()
time.sleep(1.0) time.sleep(2.0)
with self.assertRaises(OSError) as ctx: with self.assertRaises(OSError) as ctx:
_multiprocessing.sem_unlink(name2) _multiprocessing.sem_unlink(name2)
# docs say it should be ENOENT, but OSX seems to give EINVAL # docs say it should be ENOENT, but OSX seems to give EINVAL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment