From ed5ae2c3a2b56d53b7a56a90e448517d805cdab1 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Mon, 25 Apr 2022 21:53:56 -0400 Subject: [PATCH] ARTEMIS-3800 Fixing failing test --- .../artemis/tests/integration/cli/AddressCommandTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/AddressCommandTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/AddressCommandTest.java index 869e068d87..c7c6848402 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/AddressCommandTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cli/AddressCommandTest.java @@ -143,7 +143,7 @@ public class AddressCommandTest extends JMSTestBase { deleteAddress.setForce(true); deleteAddress.execute(new ActionContext(System.in, new PrintStream(output), new PrintStream(error))); checkExecutionPassed(deleteAddress); - Wait.assertEquals(null, () -> server.locateQueue(queueName)); + Wait.assertTrue(() -> server.locateQueue(queueName) == null); } @Test