diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java index 6bb28c2c34..6204973d8c 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/PagingTest.java @@ -793,7 +793,7 @@ public class PagingTest extends ActiveMQTestBase { producer.close(); session.start(); - long timeout = System.currentTimeMillis() + 5000; + long timeout = System.currentTimeMillis() + 10000; // I want the buffer full to make sure there are pending messages on the server's side while (System.currentTimeMillis() < timeout && cons.getBufferSize() < 1000 && cons2.getBufferSize() < 1000) {