Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42a526c

Browse files
committed
Issue #20114: Double timeout in test_semaphore_tracker() to reduce
chance of sporadic failures.
1 parent 0f55d9a commit 42a526c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/_test_multiprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3651,7 +3651,7 @@ def test_semaphore_tracker(self):
36513651
_multiprocessing.sem_unlink(name1)
36523652
p.terminate()
36533653
p.wait()
3654-
time.sleep(1.0)
3654+
time.sleep(2.0)
36553655
with self.assertRaises(OSError) as ctx:
36563656
_multiprocessing.sem_unlink(name2)
36573657
# docs say it should be ENOENT, but OSX seems to give EINVAL

0 commit comments

Comments
 (0)