test(qa): stabilize lab catalog abort fixture · openclaw/openclaw@f4c4e94
steipete
·
2026-04-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -555,11 +555,11 @@ describe("qa-lab server", () => {
|
555 | 555 | path.join(repoRoot, "dist/index.js"), |
556 | 556 | [ |
557 | 557 | 'const fs = require("node:fs");', |
558 | | -`fs.writeFileSync(${JSON.stringify(markerPath)}, process.env.OPENCLAW_CODEX_DISCOVERY_LIVE || "", "utf8");`, |
559 | 558 | "process.on('SIGTERM', () => {", |
560 | 559 | ` fs.writeFileSync(${JSON.stringify(stoppedPath)}, "terminated", "utf8");`, |
561 | 560 | " process.exit(0);", |
562 | 561 | "});", |
| 562 | +`fs.writeFileSync(${JSON.stringify(markerPath)}, process.env.OPENCLAW_CODEX_DISCOVERY_LIVE || "", "utf8");`, |
563 | 563 | "setInterval(() => {}, 1000);", |
564 | 564 | ].join("\n"), |
565 | 565 | "utf8", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。