Commit dd671bc
committed
fix(tests): drop detect timeout-stub sleep from 5s to 2s
The "op hangs past timeoutMs" test was intermittently hitting vitest's
5000ms default testTimeout on CI. `_spawn.ts` waits for `child.on("close")`,
which only fires once the grandchild sleep exits — SIGKILL on the shell
wrapper doesn't cascade, so `sleep 5` kept the pipes open the full 5s.
Matches the keychain test's pattern (sleep 2 + timeoutMs: 100).
Local full run: 239/240 still green.1 parent febabae commit dd671bc
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
0 commit comments