Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

test(cron-job): increase timeout for beforeEach to 20 seconds

Victor Hugo dos Santos31f5fed6cb6c
diff --git a/backend/e2e-test/cron-job.spec.ts b/backend/e2e-test/cron-job.spec.ts
index 7410284d57..a887a82b4f 100644
--- a/backend/e2e-test/cron-job.spec.ts
+++ b/backend/e2e-test/cron-job.spec.ts
@@ -91,7 +91,7 @@ beforeEach(async () => {
allFactories.length = 0;
lockManager.clear();
await waitForFreshMinute();
-});
+}, 20_000);
afterEach(async () => {
await Promise.allSettled(allFactories.map((f) => f.stop()));