Skip to content

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

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

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

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 cmaloney@users.noreply.github.com
Co-authored-by: Claude Opus 5.5 noreply@anthropic.com

…_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 3fd6401aff53275055378614e33d2f0b950500c6)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@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 e251753 into python:3.15 Nov 21, 2026
56 of 61 checks passed
@miss-islington
miss-islington deleted the backport-3fd6401-3.15 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