[KEYCLOAK-18250] LDAPSyncTest.test09MembershipUsingDifferentAttributes fails on MySQL 8 and MariaDB 10.3
This commit is contained in:
parent
b216b9579c
commit
38101d01c2
1 changed files with 5 additions and 1 deletions
|
@ -570,11 +570,15 @@ public class LDAPSyncTest extends AbstractLDAPTest {
|
|||
|
||||
testingClient.server().run(session -> {
|
||||
LDAPTestContext ctx = LDAPTestContext.init(session);
|
||||
RealmModel appRealm = ctx.getRealm();
|
||||
|
||||
KeycloakSessionFactory sessionFactory = session.getKeycloakSessionFactory();
|
||||
SynchronizationResult syncResult = new UserStorageSyncManager().syncAllUsers(sessionFactory, "test", ctx.getLdapModel());
|
||||
Assert.assertEquals(2, syncResult.getAdded());
|
||||
});
|
||||
|
||||
testingClient.server().run(session -> {
|
||||
LDAPTestContext ctx = LDAPTestContext.init(session);
|
||||
RealmModel appRealm = ctx.getRealm();
|
||||
|
||||
GroupModel user8Group = KeycloakModelUtils.findGroupByPath(appRealm, "/user8group");
|
||||
Assert.assertNotNull(user8Group);
|
||||
|
|
Loading…
Reference in a new issue