Skip to content

Test pauser deadlines with controlled clocks - #359

Open
peter-lawrey wants to merge 3 commits into
bugfix/disk-monitor-warning-countfrom
bugfix/yielding-pauser-deadline-control
Open

peter-lawrey wants to merge 3 commits into
bugfix/disk-monitor-warning-countfrom
bugfix/yielding-pauser-deadline-control

Conversation

@peter-lawrey

@peter-lawrey peter-lawrey commented Sep 18, 2026

Copy link
Copy Markdown
Member

Pauser deadline tests included scheduler delays in narrow wall-clock assertions; the asynchronous fixture also converted time units in the wrong direction and retried an assertion internally. Use package-local clock seams to check exact YieldingPauser and asynchronous LongPauser deadlines without changing their production clock or public API.

Coverage includes strict timeout boundaries, the busy and yield phases, repeated reset, cancellation, and nanosecond through second configurations. The synchronous unpause control still uses a real worker. This PR is stacked on #358; shutdown completion and fixture cleanup corrections are included from #357.

@peter-lawrey peter-lawrey changed the title Test yielding pauser deadlines independently of scheduler delay Test pauser deadlines with controlled clocks Sep 18, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant