Skip to content

[3.12] gh-130917: update timer and workload in test_signal (GH-130918)#130968

Merged
colesbury merged 2 commits intopython:3.12from
miss-islington:backport-7879081-3.12
Mar 8, 2025
Merged

[3.12] gh-130917: update timer and workload in test_signal (GH-130918)#130968
colesbury merged 2 commits intopython:3.12from
miss-islington:backport-7879081-3.12

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Mar 8, 2025

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 7879081)

Co-authored-by: Diego Russo diego.russo@arm.com

…30918)

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 7879081)

Co-authored-by: Diego Russo <diego.russo@arm.com>
@colesbury colesbury enabled auto-merge (squash) March 8, 2025 18:06
@colesbury colesbury merged commit a69107b into python:3.12 Mar 8, 2025
27 checks passed
@miss-islington miss-islington deleted the backport-7879081-3.12 branch January 2, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants