forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-109974: Fix threading lock_tests: adjust timeouts
* test_set_and_clear(): increase event wait() timeout. Remove sleep after Bunch.wait_for_started(). * BarrierTests.test_repr(): remove sleep after wait_for_started(). Use way longer timeout for Barrier.wait() timeout. * test_thread_leak() no longer needs to count len(threading.enumerate()): Bunch use threading_helper.wait_threads_exit() internally which does it in wait_for_finished().
- Loading branch information
Showing
1 changed file
with
11 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters