mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-27 06:12:05 -07:00
test: increase launcher test timeout for CI stability
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user