Skip to content

Commit 3d8564b

Browse files
authored
fix: test (#855)
1 parent b4b266f commit 3d8564b

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
@@ -834,6 +834,14 @@ public void testThatCronJobsHaveTenantsInfoAfterRestart() throws Exception {
834834
process.startProcess();
835835
assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STARTED));
836836

837+
if (StorageLayer.getStorage(process.getProcess()).getType() != STORAGE_TYPE.SQL) {
838+
return;
839+
}
840+
841+
if (StorageLayer.isInMemDb(process.getProcess())) {
842+
return;
843+
}
844+
837845
JsonObject coreConfig = new JsonObject();
838846
StorageLayer.getStorage(new TenantIdentifier(null, null, null), process.getProcess())
839847
.modifyConfigToAddANewUserPoolForTesting(coreConfig, 1);

0 commit comments

Comments
 (0)