test: use a portable producer for HTTP/3 cleanup

This commit is contained in:
morluto committed 2026-11-10 16:02:00 -05:00
1 parent 25f50eea02
commit a9882a58b2
1 file changed
+9 -5
@@ -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 {