]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-110393: Remove watchdog with hardcoded timeout (GH-110400) (#110445)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Oct 2023 22:17:20 +0000 (15:17 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2023 22:17:20 +0000 (22:17 +0000)
commit1b589850774e6386d7c04fd113a0879afa21f07c
treee85fc38791070efaa1044f32a699c6be822088eb
parent5a4e821b436710bc9814513965ec9ad097c4adac
[3.12] gh-110393: Remove watchdog with hardcoded timeout (GH-110400) (#110445)

gh-110393: Remove watchdog with hardcoded timeout (GH-110400)

test_builtin and test_socketserver no longer use signal.alarm() to
implement a watchdog with a hardcoded timeout (2 and 60 seconds).
Python test runner regrtest has two watchdogs: faulthandler and
timeout on running worker processes. Tests using short hardcoded
timeout can fail on slowest buildbots just because the timeout is too
short.
(cherry picked from commit 1328fa31fe9c72748fc6fd11d017c82aafd48a49)

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