mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-10-30 17:27:09 +00:00
test(cli): the mid-render orphan test waits for three Chrome processes alive at once (#6489)
This commit is contained in:
@@ -103,9 +103,8 @@ it("leaves no Chrome process behind when the CLI is killed mid-render", async ()
|
||||
]);
|
||||
await waitForTestCondition(() => {
|
||||
run.record();
|
||||
return run.seen.chrome.size >= 3;
|
||||
return alive(run.seen.chrome).length >= 3;
|
||||
}, 60_000);
|
||||
expect(alive(run.seen.chrome).length).toBeGreaterThan(0);
|
||||
run.child.kill("SIGKILL");
|
||||
await waitForTestCondition(() => alive(run.seen.chrome).length === 0, 30_000);
|
||||
}, 120_000);
|
||||
|
||||
Reference in New Issue
Block a user