You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/04/12 15:24:32 UTC
activemq-artemis git commit: NO-JIRA Trivial test fix on
ProtonTest::testAddressControlSendMessageWithText
Repository: activemq-artemis
Updated Branches:
refs/heads/master a1664bdd4 -> 3ff9057ac
NO-JIRA Trivial test fix on ProtonTest::testAddressControlSendMessageWithText
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/3ff9057a
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/3ff9057a
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/3ff9057a
Branch: refs/heads/master
Commit: 3ff9057ac4533b44dedfa2ea913a23a3edd3ab95
Parents: a1664bd
Author: Clebert Suconic <cl...@apache.org>
Authored: Wed Apr 12 11:22:26 2017 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Apr 12 11:24:16 2017 -0400
----------------------------------------------------------------------
.../apache/activemq/artemis/tests/integration/amqp/ProtonTest.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/3ff9057a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/ProtonTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/ProtonTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/ProtonTest.java
index c2201e7..09a44dd 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/ProtonTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/ProtonTest.java
@@ -296,6 +296,8 @@ public class ProtonTest extends ProtonTestBase {
Assert.assertEquals(1, addressControl.getQueueNames().length);
addressControl.sendMessage(null, org.apache.activemq.artemis.api.core.Message.TEXT_TYPE, "test", false, userName, password);
+ Wait.waitFor(() -> addressControl.getMessageCount() == 1);
+
Assert.assertEquals(1, addressControl.getMessageCount());
Connection connection = createConnection("myClientId");