activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [activemq-artemis] 02/03: NO-JIRA fixing CheckTest with a Wait assertion
Date Mon, 14 Sep 2020 19:35:57 GMT
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 604b7c2aa6960edf0fe5b3448aa97c6ce78c0b30
Author: Clebert Suconic <clebertsuconic@apache.org>
AuthorDate: Mon Sep 14 11:28:31 2020 -0400

    NO-JIRA fixing CheckTest with a Wait assertion
---
 artemis-cli/src/test/java/org/apache/activemq/cli/test/CheckTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/artemis-cli/src/test/java/org/apache/activemq/cli/test/CheckTest.java b/artemis-cli/src/test/java/org/apache/activemq/cli/test/CheckTest.java
index 5abc8a6..7663bf5 100644
--- a/artemis-cli/src/test/java/org/apache/activemq/cli/test/CheckTest.java
+++ b/artemis-cli/src/test/java/org/apache/activemq/cli/test/CheckTest.java
@@ -381,7 +381,7 @@ public class CheckTest extends CliTestBase {
 
          queueControl = (QueueControl)server.getManagementService().
             getResource(ResourceNames.QUEUE + queueName);
-         Assert.assertEquals(messages, queueControl.getMessageCount());
+         Wait.assertEquals(messages, queueControl::getMessageCount);
       } finally {
          stopServer();
       }


Mime
View raw message