From a9882a58b211abdcb7006c144242e40c0fbfa8fe Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 10 Nov 2026 16:02:00 -0500 Subject: [PATCH] test: use a portable producer for HTTP/3 cleanup --- scripts/lib/http3-verifier-lifecycle.test.mjs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/lib/http3-verifier-lifecycle.test.mjs b/scripts/lib/http3-verifier-lifecycle.test.mjs index fc7c3f5d2b..e41c00a61f 100644 --- a/scripts/lib/http3-verifier-lifecycle.test.mjs +++ b/scripts/lib/http3-verifier-lifecycle.test.mjs @@ -375,11 +375,15 @@ test("dispatch reverses origin completion; client and capture may arrive in othe test("cleanup verifies and retires a separately owned producer group", async () => { const root = await mkdtemp(join(tmpdir(), "rea-http3-group-")); const runId = randomUUID(); - const child = spawn("/usr/bin/sleep", ["60"], { - detached: true, - env: { ...process.env, REA_PROCESS_RUN_ID: runId }, - stdio: "ignore", - }); + const child = spawn( + process.execPath, + ["--eval", "setInterval(() => {}, 1000)"], + { + detached: true, + env: { ...process.env, REA_PROCESS_RUN_ID: runId }, + stdio: "ignore", + }, + ); let primaryError; let cleaned = false; try {