Skip to content

[3.14] gh-162364: Speed up test_signal StressTest.test_stress_delivery_simultaneous (GH-162366) - #162402

Merged
cmaloney merged 1 commit into
python:3.14from
miss-islington:backport-3fd6401-3.14
Nov 21, 2026
Merged

cmaloney merged 1 commit into
python:3.14from
miss-islington:backport-3fd6401-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Reuse the short-sleep polling loop from test_stress_delivery_dependent.
The 10 ms minimum sleep of sleeping_retry() dominated the test's
runtime, especially under macOS background QoS where timer coalescing
stretches each sleep.
(cherry picked from commit 3fd6401)

Co-authored-by: Cody Maloney [email protected]
Co-authored-by: Claude Opus 5.5 [email protected]

…_simultaneous (pythonGH-162366)

Reuse the short-sleep polling loop from test_stress_delivery_dependent.
The 10 ms minimum sleep of sleeping_retry() dominated the test's
runtime, especially under macOS background QoS where timer coalescing
stretches each sleep.
(cherry picked from commit 3fd6401)

Co-authored-by: Cody Maloney <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@bedevere-app bedevere-app Bot added skip news type-feature A feature request or enhancement labels Nov 21, 2026
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting review labels Nov 21, 2026
@cmaloney cmaloney removed the type-feature A feature request or enhancement label Nov 21, 2026
@cmaloney
cmaloney merged commit ca9a9a2 into python:3.14 Nov 21, 2026
52 of 57 checks passed
@miss-islington
miss-islington deleted the backport-3fd6401-3.14 branch November 21, 2026 21:29
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.

2 participants