Skip to content

Commit

Permalink
test: fix createAnAuthUserAssignRolesAndDeleteUser to not run in non …
Browse files Browse the repository at this point in the history
…sql dbs (#442)
  • Loading branch information
jscyo authored May 6, 2022
1 parent f34e4b8 commit 16def2d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,10 @@ public void createAnAuthUserAssignRolesAndDeleteUser() throws Exception {
TestingProcessManager.TestingProcess process = TestingProcessManager.start(args);
assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STARTED));

if (StorageLayer.getStorage(process.getProcess()).getType() != STORAGE_TYPE.SQL) {
return;
}

UserRolesSQLStorage storage = StorageLayer.getUserRolesStorage(process.main);

// create a role
Expand Down

0 comments on commit 16def2d

Please sign in to comment.