test: give the multi-call built-bin cases a 210s outer budget

The requires-profile and routes-help cases serialize 4-6 runBuiltBin calls,
each with a 60s execa cap; under the loaded pool the 90s outer budget was
exhausted before the last call and vitest truncated the run without the
execa diagnostics. Raise both to SPAWN_TIMEOUT_MS * 3 + 30s.
This commit is contained in:
Chinesezjc
2026-08-26 18:20:43 +08:00
parent b648ed75c9
commit 6cbd3dda21
+2 -2
View File
@@ -341,7 +341,7 @@ describe.skipIf(!existsSync(dshBin))('dsh BUILT bin (node lib/bin.js, no tsx)',
const result = await runBuiltBin(removed)
expect(result.code).toBe(1)
}
}, SPAWN_TIMEOUT_MS + 30_000)
}, SPAWN_TIMEOUT_MS * 3 + 30_000)
it('routes help and usage errors without activating startup-dependent rows', async () => {
const home = mkdtempSync(join(tmpdir(), 'dsh-app-help-'))
@@ -398,7 +398,7 @@ describe.skipIf(!existsSync(dshBin))('dsh BUILT bin (node lib/bin.js, no tsx)',
} finally {
rmSync(home, { recursive: true, force: true })
}
}, SPAWN_TIMEOUT_MS + 30_000)
}, SPAWN_TIMEOUT_MS * 3 + 30_000)
it('reports SDK startup failure when stdin reaches EOF first', async () => {
const home = mkdtempSync(join(tmpdir(), 'dsh-built-sdk-startup-failure-'))