]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-130917: update timer and workload in test_signal (#130918)
authorDiego Russo <diego.russo@arm.com>
Fri, 7 Mar 2025 21:10:02 +0000 (21:10 +0000)
committerGitHub <noreply@github.com>
Fri, 7 Mar 2025 21:10:02 +0000 (16:10 -0500)
commit78790811989ab47319e2ee725e0c435b3cdd21ab
tree116d6457507ddccb8610d8df123293ad4f8dac10
parentb1b4f9625c5f2a6b2c32bc5ee91c9fef3894b5e6
gh-130917: update timer and workload in test_signal (#130918)

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.
Lib/test/test_signal.py