diff --git a/OpenICF-ldap-connector/src/test/java/org/identityconnectors/ldap/LdapConnectorTestBase.java b/OpenICF-ldap-connector/src/test/java/org/identityconnectors/ldap/LdapConnectorTestBase.java index 385c589c..a0084553 100644 --- a/OpenICF-ldap-connector/src/test/java/org/identityconnectors/ldap/LdapConnectorTestBase.java +++ b/OpenICF-ldap-connector/src/test/java/org/identityconnectors/ldap/LdapConnectorTestBase.java @@ -262,7 +262,7 @@ protected void startServer() throws IOException { */ private static void waitUntilListening() throws IOException { final int WAIT = 200; // ms - final int ITERATIONS = 50; + final int ITERATIONS = 150; // 30 s: a loaded CI runner can be very slow (#111) for (int i = 1; !isListening(PORT) || !isListening(SSL_PORT); i++) { if (i >= ITERATIONS) { throw new IOException("OpenDJ is not listening on ports " + PORT + " and " + SSL_PORT @@ -292,7 +292,7 @@ protected static void stopServer() { */ private static boolean waitUntilStopped() { final int WAIT = 200; // ms - final int ITERATIONS = 25; + final int ITERATIONS = 150; // 30 s: a loaded CI runner can be very slow (#111) for (int i = 1; EmbeddedUtils.isRunning() || isAnyPortStillBound(); i++) { if (i >= ITERATIONS) { return false;