]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-130917: update timer and workload in test_signal (GH-130918) (#130968)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Mar 2025 18:21:46 +0000 (19:21 +0100)
committerGitHub <noreply@github.com>
Sat, 8 Mar 2025 18:21:46 +0000 (18:21 +0000)
commita69107b33587b0fb262063971d7a0794cee613d4
tree01162ad49c328a55947e9ebc1ea1af1e46a0b625
parent4eb4785afd89ee407532fd72aa411fed109f5e8f
[3.12] gh-130917: update timer and workload in test_signal (GH-130918) (#130968)

The workload to advance the virtual timeout is too lightweight for some
platforms. As result the test goes in timeout as it never reaches the
end of the timer. By having a heavier workload, the virtual timer
advances rapidly and the SIGVTALRM is sent before the timeout.
(cherry picked from commit 78790811989ab47319e2ee725e0c435b3cdd21ab)

Co-authored-by: Diego Russo <diego.russo@arm.com>
Lib/test/test_signal.py