diff --git a/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/jms/ra/MDBMultipleHandlersServerDisconnectTest.java b/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/jms/ra/MDBMultipleHandlersServerDisconnectTest.java index 1afd632a75..8b14e394cc 100644 --- a/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/jms/ra/MDBMultipleHandlersServerDisconnectTest.java +++ b/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/jms/ra/MDBMultipleHandlersServerDisconnectTest.java @@ -380,7 +380,8 @@ public class MDBMultipleHandlersServerDisconnectTest extends ActiveMQRATestBase serverSessions.add(session); } } - } while (running.get() && serverSessions.size() != numberOfSessions && timeout > System.currentTimeMillis()); + } + while (running.get() && serverSessions.size() != numberOfSessions && timeout > System.currentTimeMillis()); System.err.println("Returning " + serverSessions.size() + " sessions"); return serverSessions;