Commit ea8f0cb
test(mcp): bump real-binary spawnSync timeout 5s→15s to de-flake coverage run (#42)
The two BUG-MCP-017 tests (--version / --help) spawnSync the real built
binary. Under `npm test`'s V8 coverage instrumentation + full-suite parallel
load, the child's cold start can exceed the 5s budget → status:null (killed)
→ flaky FAILURE on the coverage variant only (test:nocov stays green, and the
tests pass in isolation). Confirmed env flake, not a code defect.
Bumps both spawnSync timeouts to 15000ms via a named BINARY_SPAWN_TIMEOUT_MS
const. No assertions or behavior changed — only the timeout budget.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 426c26a commit ea8f0cb
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
68 | | - | |
| 75 | + | |
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
| |||
74 | 81 | | |
75 | 82 | | |
76 | 83 | | |
77 | | - | |
| 84 | + | |
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
| |||
0 commit comments