test: harden flaky timeout-sensitive tests

This commit is contained in:
Peter Steinberger
2026-02-22 12:21:19 +01:00
parent 42f62821db
commit bf52273a58
2 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import process from "node:process";
import { afterEach, describe, expect, it } from "vitest";
import { attachChildProcessBridge } from "./child-process-bridge.js";
const CHILD_READY_TIMEOUT_MS = 2_000;
const CHILD_EXIT_TIMEOUT_MS = 3_000;
const CHILD_READY_TIMEOUT_MS = 10_000;
const CHILD_EXIT_TIMEOUT_MS = 10_000;
function waitForLine(
stream: NodeJS.ReadableStream,