activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: NO-JIRA fixing race on a test
Date Sat, 05 May 2018 19:10:51 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 386494c73 -> 8859d9922


NO-JIRA fixing race on a test


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

Branch: refs/heads/master
Commit: 8859d99224a76421cafb0bc9928e9139ddf43df2
Parents: 386494c
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Sat May 5 15:10:43 2018 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Sat May 5 15:10:43 2018 -0400

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


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/8859d992/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlTest.java
index 7bef025..0b96e37 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlTest.java
@@ -2409,6 +2409,7 @@ public class QueueControlTest extends ManagementTestBase {
       ClientMessage message = session.createMessage(durable);
       producer.send(message);
 
+      Wait.assertEquals(1, queueControl::getMessageCount);
       // the message IDs are set on the server
       Map<String, Object>[] messages = queueControl.listMessages(null);
       Assert.assertEquals(1, messages.length);


Mime
View raw message