UserSessionProviderModelTest#testRemoteCachesParallel sessions are not removed after the test

Closes #21295
This commit is contained in:
Martin Kanis 2023-06-28 16:10:03 +02:00 committed by Alexander Schwartz
parent 22e40641e9
commit a07ec20be9

View file

@ -263,6 +263,7 @@ public class UserSessionProviderModelTest extends KeycloakModelTest {
RemoteCache<String, HotRodUserSessionEntity> remoteCache = provider.getRemoteCache(ModelEntityUtil.getModelName(UserSessionModel.class));
HotRodUserSessionEntity userSessionEntity = new HotRodUserSessionEntity();
userSessionEntity.id = UUID.randomUUID().toString();
userSessionEntity.realmId = realmId;
remoteCache.put(userSessionEntity.id, userSessionEntity);
}));