From 0266cf4d10019e1fd25052dd715479a37ed25f06 Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Fri, 17 Apr 2026 19:46:38 -0400 Subject: [PATCH] test: disable cron scheduler for manual runs --- src/gateway/server.cron.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gateway/server.cron.test.ts b/src/gateway/server.cron.test.ts index d6af3bb14c8..6befe00b864 100644 --- a/src/gateway/server.cron.test.ts +++ b/src/gateway/server.cron.test.ts @@ -666,6 +666,7 @@ describe("gateway server cron", () => { test("returns from cron.run immediately while isolated work continues in background", async () => { const { prevSkipCron } = await setupCronTestRun({ tempPrefix: "openclaw-gw-cron-run-detached-", + cronEnabled: false, }); const { server, ws } = await startServerWithClient(); @@ -733,6 +734,7 @@ describe("gateway server cron", () => { const { prevSkipCron } = await setupCronTestRun({ tempPrefix: "openclaw-gw-cron-run-busy-", + cronEnabled: false, jobs: [ { id: "busy-job", @@ -786,6 +788,7 @@ describe("gateway server cron", () => { const now = Date.now(); const { prevSkipCron } = await setupCronTestRun({ tempPrefix: "openclaw-gw-cron-run-not-due-", + cronEnabled: false, jobs: [ { id: "future-job",