From 00caead80ab3fdfd195e4153a334f1a33d099ffd Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 1 Jun 2026 10:23:03 -0400 Subject: [PATCH] test: close oxlint signal readiness race --- test/scripts/run-oxlint.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/run-oxlint.test.ts b/test/scripts/run-oxlint.test.ts index 4726379570d..b0c4f54c20d 100644 --- a/test/scripts/run-oxlint.test.ts +++ b/test/scripts/run-oxlint.test.ts @@ -252,11 +252,11 @@ describe("run-oxlint", () => { runner, [ "import { writeFileSync } from 'node:fs';", - "writeFileSync(process.env.READY_FILE, String(process.pid));", "process.on('SIGTERM', () => {", " writeFileSync(process.env.SIGNALED_FILE, 'SIGTERM');", " process.exit(0);", "});", + "writeFileSync(process.env.READY_FILE, String(process.pid));", "setInterval(() => {}, 1000);", "", ].join("\n"),