test(scripts): stabilize gauntlet termination timing

This commit is contained in:
Vincent Koc
2026-06-21 14:27:10 +02:00
parent 5b6f4b2919
commit 54b2836eab

View File

@@ -884,10 +884,10 @@ const promise = runMeasuredCommandLive({
label: "timeout-parent-termination",
phase: "probe",
timeoutKillGraceMs: 1_000,
timeoutMs: 100,
timeoutMs: 1_000,
timeMode: "none",
});
for (let attempt = 0; attempt < 100 && !fs.existsSync(${JSON.stringify(
for (let attempt = 0; attempt < 200 && !fs.existsSync(${JSON.stringify(
leaderExitedPath,
)}); attempt += 1) {
await delay(25);