diff --git a/src/test/java/io/supertokens/test/CronjobTest.java b/src/test/java/io/supertokens/test/CronjobTest.java index 44801fa09..606ea745b 100644 --- a/src/test/java/io/supertokens/test/CronjobTest.java +++ b/src/test/java/io/supertokens/test/CronjobTest.java @@ -826,7 +826,7 @@ public void testThatThereAreTasksOfAllCronTaskClassesAndHaveCorrectIntervals() t // Note that the time is in seconds Map intervals = new HashMap<>(); - intervals.put("io.supertokens.ee.cronjobs.EELicenseCheck", 10); + intervals.put("io.supertokens.ee.cronjobs.EELicenseCheck", 86400); intervals.put("io.supertokens.cronjobs.syncCoreConfigWithDb.SyncCoreConfigWithDb", 60); intervals.put("io.supertokens.cronjobs.deleteExpiredSessions.DeleteExpiredSessions", 43200); intervals.put("io.supertokens.cronjobs.deleteExpiredPasswordResetTokens.DeleteExpiredPasswordResetTokens", 3600); @@ -838,7 +838,7 @@ public void testThatThereAreTasksOfAllCronTaskClassesAndHaveCorrectIntervals() t intervals.put("io.supertokens.cronjobs.deleteExpiredAccessTokenSigningKeys.DeleteExpiredAccessTokenSigningKeys", 86400); Map delays = new HashMap<>(); - delays.put("io.supertokens.ee.cronjobs.EELicenseCheck", 10); + delays.put("io.supertokens.ee.cronjobs.EELicenseCheck", 86400); delays.put("io.supertokens.cronjobs.syncCoreConfigWithDb.SyncCoreConfigWithDb", 0); delays.put("io.supertokens.cronjobs.deleteExpiredSessions.DeleteExpiredSessions", 0); delays.put("io.supertokens.cronjobs.deleteExpiredPasswordResetTokens.DeleteExpiredPasswordResetTokens", 0);