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 @@ -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
Expand Down Expand Up @@ -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;
Expand Down
Loading