mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-05 22:58:02 +01:00
test: close oxlint signal readiness race
This commit is contained in:
1 parent
4b54a423f0
commit
00caead80a
1 file changed
+1
-1
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user