Fix ConcurrentTransactionsTest failure with CockroachDB (#13890)
- realm has to be removed in a separate tx due to CRDB's SERIALIZABLE isolation level Closes #13211
This commit is contained in:
parent
f3a36eaad5
commit
5775e7c4ba
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ public class ConcurrentTransactionsTest extends AbstractTestRealmKeycloakTest {
|
|||
|
||||
});
|
||||
} finally {
|
||||
tearDownRealm(session, "user1", "user2");
|
||||
KeycloakModelUtils.runJobInTransaction(session.getKeycloakSessionFactory(), kcSession -> tearDownRealm(kcSession, "user1", "user2"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue