Skip to content

Commit 3d5ac1b

Browse files
authored
fix: test (#856)
1 parent 7e63a18 commit 3d5ac1b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test/java/io/supertokens/test/CronjobTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,14 @@ public void testThatCronJobsHaveTenantsInfoAfterRestart() throws Exception {
873873
process.startProcess();
874874
assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STARTED));
875875

876+
if (StorageLayer.getStorage(process.getProcess()).getType() != STORAGE_TYPE.SQL) {
877+
return;
878+
}
879+
880+
if (StorageLayer.isInMemDb(process.getProcess())) {
881+
return;
882+
}
883+
876884
JsonObject coreConfig = new JsonObject();
877885
StorageLayer.getStorage(new TenantIdentifier(null, null, null), process.getProcess())
878886
.modifyConfigToAddANewUserPoolForTesting(coreConfig, 1);

0 commit comments

Comments
 (0)