]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-130727: Retry test_wmi on TimeoutError (GH-130832) (#130840)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 17 Mar 2025 15:57:28 +0000 (16:57 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Mar 2025 15:57:28 +0000 (15:57 +0000)
commit18e4eb410ad0cb2f0ba6aac92d40db7c9346e2c0
tree089bdfd3cfb63b224024fcb038277877a395cdaf
parent040583387bd659be02b867c31e19cb72978e0ff6
[3.12] gh-130727: Retry test_wmi on TimeoutError (GH-130832) (#130840)

gh-130727: Retry test_wmi on TimeoutError (GH-130832)

Use sleeping_retry() in test_wmi to retry multiple times on
TimeoutError. Wait up to LONG_TIMEOUT seconds (5 minutes by default).
(cherry picked from commit f67ff9e82071b21c1960401aed4844b00b5bfb53)

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