mirror of https://github.com/openclaw/openclaw.git
test: avoid double cron finish wait
This commit is contained in:
parent
f014b46b56
commit
300fc486a4
|
|
@ -349,7 +349,6 @@ describe("gateway server cron", () => {
|
|||
const autoJobId = typeof autoJobIdValue === "string" ? autoJobIdValue : "";
|
||||
expect(autoJobId.length > 0).toBe(true);
|
||||
|
||||
await waitForCronFinished(ws, autoJobId);
|
||||
await waitForCronFinished(ws, autoJobId);
|
||||
|
||||
await waitForNonEmptyFile(path.join(dir, "cron", "runs", `${autoJobId}.jsonl`));
|
||||
|
|
|
|||
Loading…
Reference in New Issue