Skip to content

test: give monitor wake assertions more time on Windows runners - #161

Merged
trvon merged 2 commits into
masterfrom
test/windows-monitor-wake-timeout
Oct 31, 2026
Merged

trvon merged 2 commits into
masterfrom
test/windows-monitor-wake-timeout

Conversation

@trvon

@trvon trvon commented Oct 29, 2026

Copy link
Copy Markdown
Owner

The onDone delayed completion preserves the custom wake outcome test failed on windows-latest in run 39860949158: the monitor's shell spawn plus sleep 1 took longer than the fixed 5 s waitFor in expectIdleMonitorWake (the test ran 7.2 s).

  • MONITOR_WAKE_TIMEOUT_MS is 12 s on Windows and stays 5 s elsewhere.
  • The five tests that wait on monitor wakes size their timeouts from it (bound + 5 s), so they no longer cap at 10 s.

No production code changes.

trvon and others added 2 commits October 29, 2026 14:09
The delayed onDone completion test failed on windows-latest (run 39860949158):
spawning a shell plus 'sleep 1' outlasted the fixed 5s waitFor. Use a 12s
bound on Windows and size the test timeouts from it.
@trvon
trvon merged commit c8795ca into master Oct 31, 2026
5 checks passed
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