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 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(); }