ARTEMIS-287 [Artemis Testsuite] PagingTest#testDeleteQueueRestart fails on slower machines

This commit is contained in:
Erich Duda 2015-10-29 11:27:26 +01:00
parent 739f3c51bf
commit 0007772b13
1 changed files with 1 additions and 1 deletions

View File

@ -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) {