Skip to content

Commit

Permalink
fix: test (#780)
Browse files Browse the repository at this point in the history
* fix: test

* fix: test
  • Loading branch information
sattvikc authored Aug 31, 2023
1 parent 8b749e2 commit 64b115b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/supertokens/test/CronjobTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ public void testThatThereAreTasksOfAllCronTaskClassesAndHaveCorrectIntervals() t

// Note that the time is in seconds
Map<String, Integer> 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);
Expand All @@ -838,7 +838,7 @@ public void testThatThereAreTasksOfAllCronTaskClassesAndHaveCorrectIntervals() t
intervals.put("io.supertokens.cronjobs.deleteExpiredAccessTokenSigningKeys.DeleteExpiredAccessTokenSigningKeys", 86400);

Map<String, Integer> 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);
Expand Down

0 comments on commit 64b115b

Please sign in to comment.