]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-130727: Retry test_wmi on TimeoutError (GH-130832) (#130839)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Mar 2025 15:31:22 +0000 (16:31 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Mar 2025 15:31:22 +0000 (15:31 +0000)
commita115480f71a44f53372392d262c50914544d583d
treea259a9ee1eaf2eff61cf01cff14e43d217b6ef8b
parent418021e22911dbaf54dacdec9e315c5778185074
[3.13] gh-130727: Retry test_wmi on TimeoutError (GH-130832) (#130839)

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