Commit a4e8a82
Increase
This PR un-skips `CanAttachScriptWithPathMappings` on Windows PowerShell
(reverting the #2318 skips now that the host-start hang is fixed), and the
un-skipped test promptly failed on the WinPS 5.1 CI leg with "Attached
process exited before the script could start" -- at exactly 10 seconds.
The test spawns a child `powershell.exe`, then waits up to 10s for
`Debug-Runspace` to subscribe to the child's runspace as the marker that
the attach handshake completed, before driving a full breakpoint/continue
interaction under a 15s xUnit timeout. On the 2-vCPU CI runners the WinPS
attach alone exceeds that 10s budget, so the child throws its internal
timeout and exits before the debug session attaches. It isn't even close
to comfortable locally: xUnit flags the run as a long-running test at the
10s mark on a fast dev box, so the old budget was always on a knife's edge
for the slower WinPS path.
Rather than re-skip it, give the slow-but-correct path room:
- The child's `Debug-Runspace` subscription poll goes 10s -> 30s.
- The outer process-watch cancellation goes 30s -> 60s.
- The xUnit `Timeout` goes 15s -> 60s.
This continues 81b273b (which already bumped the xUnit timeout 10s -> 15s
for the same flakiness) and keeps real coverage of the attach path on
Windows PowerShell instead of skipping it. See #2323 and #2318.
Drafted by Copilot (Claude Opus 4.8).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>CanAttachScriptWithPathMappings timeouts on slow CI runners1 parent 0eb8b3f commit a4e8a82
1 file changed
Lines changed: 7 additions & 4 deletions
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
634 | 636 | | |
635 | 637 | | |
636 | 638 | | |
| |||
768 | 770 | | |
769 | 771 | | |
770 | 772 | | |
771 | | - | |
| 773 | + | |
772 | 774 | | |
773 | 775 | | |
774 | 776 | | |
| |||
807 | 809 | | |
808 | 810 | | |
809 | 811 | | |
810 | | - | |
811 | | - | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
812 | 815 | | |
813 | 816 | | |
814 | 817 | | |
| |||
0 commit comments