]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109565: Fix concurrent.futures test_future_times_out() (GH-109949) (#109952)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Oct 2023 15:40:16 +0000 (08:40 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 15:40:16 +0000 (17:40 +0200)
commit73ec1e7c219ea116521bd1024d23b352625966f0
tree0c63977776a615d9c4cb9e4988eac394385fcf20
parent1fc25a389cf126b580ca6fdb65acdd6e42281e38
[3.12] gh-109565: Fix concurrent.futures test_future_times_out() (GH-109949) (#109952)

gh-109565: Fix concurrent.futures test_future_times_out() (GH-109949)

as_completed() uses a timeout of 100 ms instead of 10 ms. Windows
monotonic clock resolution is around 15.6 ms.
(cherry picked from commit b1aebf1e6576680d606068d17e2208259573e061)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_concurrent_futures/test_as_completed.py