8000 Fix invalid method reference when compiling with JDK17 by tsaarni · Pull Request #13621 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,10 @@ public void testPersistenceSingleNode() {
@RequireProvider(value = UserSessionProvider.class, >
public void testPersistenceMultipleNodesClientSessionAtSameNode() throws InterruptedException {
int numClients = 2;
List<String> clientIds = withRealm(realmId, (session, realm) -> {
return IntStream.range(0, numClients)
List<String> clientIds = withRealm(realmId, (session, realm) -> IntStream.range(0, numClients)
.mapToObj(cid -> session.clients().addClient(realm, "client-" + cid))
.map(ClientModel::getId)
.collect(Collectors.toList());
});
.collect(Collectors.toList()));

// Shutdown factory -> enforce session persistence
closeKeycloakSessionFactory();
Expand Down Expand Up @@ -234,12 +232,10 @@ public void testPersistenceMultipleNodesClientSessionAtSameNode() throws Interru
@RequireProvider(UserSessionPersisterProvider.class)
@RequireProvider(value = UserSessionProvider.class, >
public void testPersistenceMultipleNodesClientSessionsAtRandomNode() throws InterruptedException {
List<String> clientIds = withRealm(realmId, (session, realm) -> {
return IntStream.range(0, 5)
List<String> clientIds = withRealm(realmId, (session, realm) -> IntStream.range(0, 5)
.mapToObj(cid -> session.clients().addClient(realm, "client-" + cid))
.map(ClientModel::getId)
.collect(Collectors.toList());
});
.collect(Collectors.toList()));
List<String> offlineSessionIds = createOfflineSessions(realmId, userIds);

// Shutdown factory -> enforce session persistence
Expand Down
0