test: increase launcher test timeout for CI stability

This commit is contained in:
2026-03-27 02:24:56 -07:00
parent 854179b9c1
commit ed32f985c6

View File

@@ -36,6 +36,8 @@ function withTempDir<T>(fn: (dir: string) => T): T {
} }
} }
const LAUNCHER_RUN_TIMEOUT_MS = 30000;
function runLauncher(argv: string[], env: NodeJS.ProcessEnv): RunResult { function runLauncher(argv: string[], env: NodeJS.ProcessEnv): RunResult {
const result = spawnSync( const result = spawnSync(
process.execPath, process.execPath,
@@ -43,7 +45,7 @@ function runLauncher(argv: string[], env: NodeJS.ProcessEnv): RunResult {
{ {
env, env,
encoding: 'utf8', encoding: 'utf8',
timeout: 10000, timeout: LAUNCHER_RUN_TIMEOUT_MS,
}, },
); );
return { return {