]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-130917: update timer and workload in test_signal (GH-130918) (#130969)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Mar 2025 01:05:29 +0000 (02:05 +0100)
committerGitHub <noreply@github.com>
Sat, 8 Mar 2025 01:05:29 +0000 (01:05 +0000)
commit597a953484c28a07fe1c81a76db0a58985959d12
tree10a34383c170c55e8183c8cae1ead9d988d5c8ca
parent94b94d0b12dab6932c7d8f4398ae62596e93bd0a
[3.13] gh-130917: update timer and workload in test_signal (GH-130918) (#130969)

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