mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Issue #20114: Double timeout in test_semaphore_tracker() to reduce
chance of sporadic failures.
This commit is contained in:
parent
0f55d9a80e
commit
42a526c60f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue