From 8a30026e82ca42d9113506759f2b89253b9ca458 Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Tue, 19 Apr 2016 12:54:02 -0400 Subject: [PATCH] Drop back to original iterations now and give some extra time on test timeouts. --- .../QueueZeroPrefetchLazyDispatchPriorityTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueZeroPrefetchLazyDispatchPriorityTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueZeroPrefetchLazyDispatchPriorityTest.java index 611fb99b2d..8f65a3e085 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueZeroPrefetchLazyDispatchPriorityTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueZeroPrefetchLazyDispatchPriorityTest.java @@ -49,7 +49,7 @@ public class QueueZeroPrefetchLazyDispatchPriorityTest { private static final Logger LOG = LoggerFactory.getLogger(QueueZeroPrefetchLazyDispatchPriorityTest.class); private final byte[] PAYLOAD = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; - private final int ITERATIONS = 10; + private final int ITERATIONS = 6; private BrokerService broker; @@ -67,7 +67,7 @@ public class QueueZeroPrefetchLazyDispatchPriorityTest { } } - @Test(timeout=90000) + @Test(timeout=120000) public void testPriorityMessages() throws Exception { for (int i = 0; i < ITERATIONS; i++) { @@ -125,7 +125,7 @@ public class QueueZeroPrefetchLazyDispatchPriorityTest { } } - @Test(timeout=90000) + @Test(timeout=120000) public void testLongLivedPriorityConsumer() throws Exception { final int numToSend = 150; @@ -160,7 +160,7 @@ public class QueueZeroPrefetchLazyDispatchPriorityTest { } } - @Test(timeout=90000) + @Test(timeout=120000) public void testPriorityMessagesWithJmsBrowser() throws Exception { final int numToSend = 250; @@ -197,7 +197,7 @@ public class QueueZeroPrefetchLazyDispatchPriorityTest { } } - @Test(timeout=90000) + @Test(timeout=120000) public void testJmsBrowserGetsPagedIn() throws Exception { final int numToSend = 10;