]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-110666: Fix multiprocessing test_terminate() elapsed (GH-110667) (#110668)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Oct 2023 02:13:01 +0000 (04:13 +0200)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 02:13:01 +0000 (02:13 +0000)
commit18458a527f36b6c00c1f41845eaac3ec4f26c69f
tree3d7e26f79cf98a727ef2946a50a9495f8bd90504
parent55448a5b14bb8cb345e3702384fea20eefe8b8ae
[3.12] gh-110666: Fix multiprocessing test_terminate() elapsed (GH-110667) (#110668)

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