Commit dceac12
authored
test(tools-pack): give packaging suites a realistic timeout (#6215)
tools/pack had no vitest config, so its suites ran on vitest's 5s default.
That package shells out to real packaging tools — 7z archive and extract,
pnpm pack, installer assembly — against temp directories, so 5s is close
enough to their actual cost that runner speed alone decides pass/fail.
The Windows launcher payload archive test failed merge-queue CI at 5007ms
while passing the same tree on the pull-request run and locally.
Add a package vitest config with testTimeout 20_000, matching apps/daemon,
which is subprocess-heavy for the same reason. The include pattern matches
the 36 existing suites exactly; test counts are unchanged.1 parent 517f39a commit dceac12
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments