]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-110666: Fix multiprocessing test_terminate() elapsed (GH-110667) (#110669)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Oct 2023 02:09:53 +0000 (04:09 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 02:09:53 +0000 (02:09 +0000)
commit8ca7a230e7f6734987478a4c4db2efded594fb84
tree409334a72f54ec7ef09e89511e856cfb2f584e9b
parent7984dc28b3c3163b0e58ba326417cd3e4bc3dbaa
[3.11] gh-110666: Fix multiprocessing test_terminate() elapsed (GH-110667) (#110669)

gh-110666: Fix multiprocessing test_terminate() elapsed (GH-110667)

multiprocessing test_terminate() and test_wait_socket_slow() no
longer test the CI performance: no longer check maximum elapsed time.

Add CLOCK_RES constant: tolerate a difference of 100 ms.
(cherry picked from commit 1556f426da3f2fb5842689999933c8038b65c034)

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