From b8a634161784b235eec9491c004e245cc269f1ce Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 16 Jul 2026 02:00:15 -0700 Subject: [PATCH] test: publish run-with-env readiness after signal setup (#108787) --- test/scripts/run-with-env.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/run-with-env.test.ts b/test/scripts/run-with-env.test.ts index 2f5d594b5449..6dfbec218761 100644 --- a/test/scripts/run-with-env.test.ts +++ b/test/scripts/run-with-env.test.ts @@ -391,13 +391,13 @@ describe("run-with-env", () => { const grandchildReadyFile = path.join(tempDir, "grandchild-ready"); const grandchildScript = [ "const fs = require('node:fs');", - "fs.writeFileSync(process.env.GRANDCHILD_READY_FILE, 'ready');", "process.on('SIGTERM', () => {", " setTimeout(() => {", " fs.writeFileSync(process.env.GRACEFUL_FILE, 'done');", " process.exit(0);", " }, 75);", "});", + "fs.writeFileSync(process.env.GRANDCHILD_READY_FILE, 'ready');", "setInterval(() => {}, 1000);", ].join("\n"); const childScript = [