]> granicus.if.org Git - python/commit
bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331)
authorVictor Stinner <vstinner@redhat.com>
Thu, 19 Jul 2018 08:49:58 +0000 (10:49 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Jul 2018 08:49:58 +0000 (10:49 +0200)
commit81950495ba2c36056e0ce48fd37d514816c26747
tree44d5ad46330fe8a3718addeff523c091ff9d8eb4
parent686b4b5ff219ed66714f3b811815776dafadc23b
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!
Lib/test/lock_tests.py