]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Jul 2018 09:27:42 +0000 (02:27 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Jul 2018 09:27:42 +0000 (02:27 -0700)
commit339e0c1296c61c9dbc1f8f880c5c668bf4007e5e
tree0c063e613029e5f133175229ec8e87fbd3653fd4
parent296e5720921f1837dfd09a16457ac5bba7cb1676
bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331)

Increase the timeout: give timeout x 4 instead of timeout x 2 to
threads to wait until the Event is set, but reduce the sleep from 500
ms to 250 ms. So the test should be more reliable and faster!
(cherry picked from commit 81950495ba2c36056e0ce48fd37d514816c26747)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/lock_tests.py