ARTEMIS-360 - PagingTest.testSpreadMessagesWithFilterWithDeadConsumer fails on timeout waiting for stop paging

extended waiting time
This commit is contained in:
Martin Styk 2016-01-25 14:37:43 +01:00
parent 1562140493
commit 812affffbe
1 changed files with 1 additions and 1 deletions

View File

@ -1069,7 +1069,7 @@ public abstract class ActiveMQTestBase extends Assert {
} }
protected void waitForNotPaging(PagingStore store) throws InterruptedException { protected void waitForNotPaging(PagingStore store) throws InterruptedException {
long timeout = System.currentTimeMillis() + 10000; long timeout = System.currentTimeMillis() + 20000;
while (timeout > System.currentTimeMillis() && store.isPaging()) { while (timeout > System.currentTimeMillis() && store.isPaging()) {
Thread.sleep(100); Thread.sleep(100);
} }