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

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