diff --git a/activemq-core/src/test/java/org/apache/activemq/JMSConsumerTest.java b/activemq-core/src/test/java/org/apache/activemq/JMSConsumerTest.java index 1b55c18d67..a159f3e087 100755 --- a/activemq-core/src/test/java/org/apache/activemq/JMSConsumerTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/JMSConsumerTest.java @@ -883,7 +883,7 @@ public class JMSConsumerTest extends JmsTestSupport { } // let first bunch in queue expire - Thread.sleep(1000); + Thread.sleep(2000); producer.setTimeToLive(0); for (int i = 0; i < count; i++) { @@ -896,7 +896,7 @@ public class JMSConsumerTest extends JmsTestSupport { for(int i=0; i