test: avoid double cron finish wait

This commit is contained in:
Peter Steinberger
2026-01-23 06:40:14 +00:00
parent f014b46b56
commit 300fc486a4

View File

@@ -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`));