]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110393: Remove watchdog with hardcoded timeout (#110400)
authorVictor Stinner <vstinner@python.org>
Thu, 5 Oct 2023 15:02:48 +0000 (17:02 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2023 15:02:48 +0000 (15:02 +0000)
commit1328fa31fe9c72748fc6fd11d017c82aafd48a49
tree3d21601e6a3f1c7a0af35bc9e28916f52244ed7c
parentd33aa18f15de482a01988aabc75907328e1f9c9f
gh-110393: Remove watchdog with hardcoded timeout (#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.
Lib/test/test_builtin.py
Lib/test/test_socketserver.py