]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] gh-96710: Make the test timing more lenient for the int/str DoS regression...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Oct 2022 21:13:43 +0000 (14:13 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 21:13:43 +0000 (23:13 +0200)
commita44cc0a895590e9292193c46d344a14c511e7f33
tree9d42069e2f419f1d5a4aca1a2e26db49280984bc
parent4f1364ca032dac87ef08988ec89d682efc7fa6d2
[3.8] gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) (#98197)

gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717)

A regression would still absolutely fail and even a flaky pass isn't
harmful as it'd fail most of the time across our N system test runs.

Windows has a low resolution timer and CI systems are prone to odd
timing so this just gives more leeway to avoid flakiness.
(cherry picked from commit 11e3548fd1d3445ccde971d613633b58d73c3016)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/test/test_int.py