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/02/05 11:14:49 UTC

[activemq] branch activemq-5.15.x updated: [AMQ-7321] Decrease number of iterations in MQTT test to speed up build and limit race condition

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch activemq-5.15.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-5.15.x by this push:
     new d41a3ed  [AMQ-7321] Decrease number of iterations in MQTT test to speed up build and limit race condition
d41a3ed is described below

commit d41a3edf5c2848e5131f1f580cc86272cbbdce13
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Tue Feb 4 09:51:55 2020 +0100

    [AMQ-7321] Decrease number of iterations in MQTT test to speed up build and limit race condition
    
    (cherry picked from commit cf2c28a7f3dbb4a184996be1ca9c6e51ec67a28a)
---
 .../src/test/java/org/apache/activemq/transport/mqtt/MQTTTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activemq-mqtt/src/test/java/org/apache/activemq/transport/mqtt/MQTTTest.java b/activemq-mqtt/src/test/java/org/apache/activemq/transport/mqtt/MQTTTest.java
index 114ff1c..0427a7b 100644
--- a/activemq-mqtt/src/test/java/org/apache/activemq/transport/mqtt/MQTTTest.java
+++ b/activemq-mqtt/src/test/java/org/apache/activemq/transport/mqtt/MQTTTest.java
@@ -1642,7 +1642,7 @@ public class MQTTTest extends MQTTTestSupport {
             payload[i] = '2';
         }
 
-        int numberOfRuns = 50;
+        int numberOfRuns = 10;
         int messagesPerRun = 2;
 
         final MQTT mqttPub = createMQTTConnection("MQTT-Pub-Client", true);