activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: ARTEMIS-1680 Fixing intermittent failure
Date Mon, 19 Feb 2018 22:40:59 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master cfb38589d -> 24b546f84


ARTEMIS-1680 Fixing intermittent failure

This will make sure the cluster is well formed before doing assertions


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/132af015
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/132af015
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/132af015

Branch: refs/heads/master
Commit: 132af0159526e38981d452846d470829f89ae8a4
Parents: cfb3858
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Mon Feb 19 17:16:24 2018 -0500
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Feb 19 17:16:27 2018 -0500

----------------------------------------------------------------------
 .../tests/integration/mqtt/imported/MqttClusterWildcardTest.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/132af015/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/mqtt/imported/MqttClusterWildcardTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/mqtt/imported/MqttClusterWildcardTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/mqtt/imported/MqttClusterWildcardTest.java
index 105e7d7..b9185b2 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/mqtt/imported/MqttClusterWildcardTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/mqtt/imported/MqttClusterWildcardTest.java
@@ -169,6 +169,8 @@ public class MqttClusterWildcardTest extends ClusterTestBase {
 
          waitForBindings(1, TOPIC, 1, 1, false);
          waitForBindings(1, TOPIC, 1, 1, true);
+         waitForBindings(0, TOPIC, 1, 1, true);
+
 
          connection1.publish("test/1/some/la", payload1.getBytes(), QoS.AT_LEAST_ONCE, false);
          connection1.publish("test/1/some/la", payload2.getBytes(), QoS.AT_MOST_ONCE, false);


Mime
View raw message