From 6cbd3dda21a242835548b61be8a363caa4570737 Mon Sep 17 00:00:00 2001 From: Chinesezjc Date: Wed, 26 Aug 2026 18:20:43 +0800 Subject: [PATCH] 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. --- apps/cli/tests/built-bin.e2e.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/cli/tests/built-bin.e2e.ts b/apps/cli/tests/built-bin.e2e.ts index 2a688b5b00..4515d70b2e 100644 --- a/apps/cli/tests/built-bin.e2e.ts +++ b/apps/cli/tests/built-bin.e2e.ts @@ -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-'))