Tests: fix a broken string literal in the probe watchdog test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5050de58b5
commit
4ac85a65a5
1 changed files with 1 additions and 2 deletions
|
|
@ -139,8 +139,7 @@ test("probe watchdog: a child that stays alive but sends nothing is killed and r
|
|||
assert.equal(spawned[0].child.kills, 1, "the hung child is killed exactly once");
|
||||
assert.equal(spawned.length, 2, "and replaced");
|
||||
spawned[0].child.emit("exit", 1);
|
||||
const line = '{"quns":1,"freeMiB":14000,"util3d":1,"engines":4}
|
||||
';
|
||||
const line = '{"quns":1,"freeMiB":14000,"util3d":1,"engines":4}\n';
|
||||
for (let i = 0; i < 4; i += 1) {
|
||||
await sleep(40);
|
||||
spawned[1].child.stdout.emit("data", line);
|
||||
|
|
|
|||
Loading…
Reference in a new issue