ARTEMIS-287 [Artemis Testsuite] PagingTest#testDeleteQueueRestart fails on slower machines
This commit is contained in:
parent
739f3c51bf
commit
0007772b13
|
@ -793,7 +793,7 @@ public class PagingTest extends ActiveMQTestBase {
|
||||||
producer.close();
|
producer.close();
|
||||||
session.start();
|
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
|
// 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) {
|
while (System.currentTimeMillis() < timeout && cons.getBufferSize() < 1000 && cons2.getBufferSize() < 1000) {
|
||||||
|
|
Loading…
Reference in New Issue