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: NO-JIRA: Trivial test fix
Date Wed, 03 May 2017 14:06:51 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 507374467 -> 2968e0a7d


NO-JIRA: Trivial test fix


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

Branch: refs/heads/master
Commit: 174b238b28c9cb1d2d184997dfd1a555ab8f63a5
Parents: 5073744
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Wed May 3 09:33:12 2017 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed May 3 09:33:12 2017 -0400

----------------------------------------------------------------------
 .../artemis/tests/integration/management/AddressControlTest.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/174b238b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
index 7bc648f..6c58a8a 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
@@ -338,6 +338,7 @@ public class AddressControlTest extends ManagementTestBase {
 
       session.createQueue(address, RoutingType.ANYCAST, address.concat('2'));
       producer.send(session.createMessage(false));
+      Wait.waitFor(() -> addressControl.getMessageCount() == 2);
       assertEquals(2, addressControl.getMessageCount());
    }
 


Mime
View raw message