]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] 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:54 +0000 (14:13 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 21:13:54 +0000 (23:13 +0200)
commit157a8b8edda05ce54852429b3ee8dfc58c3c562e
tree3bb88766e0154503aeee30fb8a85a1e7ab040443
parentc59a16e2c7495a90e6d23a48ec98623f3fb1e176
[3.9] gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) (#98196)

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