test: harden flaky timeout-sensitive tests

This commit is contained in:
Peter Steinberger
2026-02-22 12:20:44 +01:00
parent 42f62821db
commit bf52273a58
2 changed files with 10 additions and 3 deletions

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,