Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Need more time on smaller clusters (#2608)

Eric Bariauxc2df6283bfa0
diff --git a/setup/src/load2/java/org/openremote/setup/load2/KeycloakSetup.java b/setup/src/load2/java/org/openremote/setup/load2/KeycloakSetup.java
index 36e0fa0e6..4925c6549 100644
--- a/setup/src/load2/java/org/openremote/setup/load2/KeycloakSetup.java
+++ b/setup/src/load2/java/org/openremote/setup/load2/KeycloakSetup.java
@@ -89,7 +89,7 @@ public class KeycloakSetup extends AbstractKeycloakSetup {
// Wait until all users created
int waitCounter = 0;
- int waitCounterLimit = Math.max(300, accounts / 3);
+ int waitCounterLimit = Math.max(300, accounts / 2);
while (createdUsers.get() < 2 * accounts) {
if (waitCounter > waitCounterLimit) {
throw new IllegalStateException("Failed to add all requested user in the specified time (" + waitCounterLimit + " seconds).");