You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2020/05/21 06:05:11 UTC
[activemq] branch master updated: Make JMSConsumerTest more robust
on slow machine
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/master by this push:
new 2d83af1 Make JMSConsumerTest more robust on slow machine
2d83af1 is described below
commit 2d83af17baf1e9aa8a9fe7c5ac6279412ff230d1
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Thu May 21 08:04:49 2020 +0200
Make JMSConsumerTest more robust on slow machine
---
.../src/test/java/org/apache/activemq/JMSConsumerTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java
index fac20f3..0eff63f 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java
@@ -251,6 +251,7 @@ public class JMSConsumerTest extends JmsTestSupport {
}
final List<Subscription> subscriptions = getDestinationConsumers(broker, destination);
+ Thread.sleep(1000);
assertTrue("prefetch extension..",
subscriptions.stream().