mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-10-21 17:01:25 -07:00
test: increase launcher test timeout for CI stability
This commit is contained in:
1 file changed
+3
-1
@@ -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 {
|
||||
const result = spawnSync(
|
||||
process.execPath,
|
||||
@@ -43,7 +45,7 @@ function runLauncher(argv: string[], env: NodeJS.ProcessEnv): RunResult {
|
||||
{
|
||||
env,
|
||||
encoding: 'utf8',
|
||||
timeout: 10000,
|
||||
timeout: LAUNCHER_RUN_TIMEOUT_MS,
|
||||
},
|
||||
);
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user