From commits-return-61797-apmail-activemq-commits-archive=activemq.apache.org@activemq.apache.org Mon Sep 14 19:35:57 2020 Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with ESMTP id C0D161ABCF for ; Mon, 14 Sep 2020 19:35:57 +0000 (UTC) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 65AB4122427 for ; Mon, 14 Sep 2020 19:35:57 +0000 (UTC) Received: (qmail 83754 invoked by uid 500); 14 Sep 2020 19:35:57 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 83680 invoked by uid 500); 14 Sep 2020 19:35:57 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 83565 invoked by uid 99); 14 Sep 2020 19:35:57 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2020 19:35:57 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id DA2778088C; Mon, 14 Sep 2020 19:35:56 +0000 (UTC) Date: Mon, 14 Sep 2020 19:35:57 +0000 To: "commits@activemq.apache.org" Subject: [activemq-artemis] 02/03: NO-JIRA fixing CheckTest with a Wait assertion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: clebertsuconic@apache.org In-Reply-To: <160011215577.22291.13976878310820544280@gitbox.apache.org> References: <160011215577.22291.13976878310820544280@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: activemq-artemis X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 604b7c2aa6960edf0fe5b3448aa97c6ce78c0b30 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20200914193556.DA2778088C@gitbox.apache.org> 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(); }