Commit 4f228d1
committed
Raise test timeouts across the spawn-heavy suite for Windows CI
terminal-manager.test.ts hit the same class of failure as the
resource-monitor fix: a spawn-and-poll test's local waitFor() default
(5000ms) coincided with vitest's outer 5000ms default, so a slow PTY
spawn on Windows CI runners tripped the outer timeout before the
helper's own error could fire. Rather than patch each spawn-heavy
file as CI surfaces the next one, set a 20s testTimeout globally in
vitest.config.ts and raise the local waitFor() defaults in
terminal-manager.test.ts and agent-tools.test.ts (both hit the same
pattern) to 12s, giving genuine headroom instead of just a longer
outer ceiling around an already-too-tight inner one.1 parent 949f925 commit 4f228d1
3 files changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
487 | 490 | | |
488 | 491 | | |
489 | 492 | | |
490 | | - | |
| 493 | + | |
491 | 494 | | |
492 | 495 | | |
493 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
0 commit comments