From 4e70fcdb5277228b9a23f3dd17cd2d236dfb7f5e Mon Sep 17 00:00:00 2001 From: gtully Date: Wed, 6 Jan 2021 20:19:49 +0000 Subject: [PATCH] ARTEMIS-3043 - remove reference to improperly named field, now corrected, from test --- .../integration/management/ActiveMQServerControlTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlTest.java index f03914a571..7ae3606634 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlTest.java @@ -2743,11 +2743,6 @@ public class ActiveMQServerControlTest extends ManagementTestBase { Assert.assertEquals("messagesAcked", "0", array.getJsonObject(0).getString("messagesAcked")); Assert.assertEquals("deliveringCount", "0", array.getJsonObject(0).getString("deliveringCount")); Assert.assertEquals("messagesKilled", "0", array.getJsonObject(0).getString("messagesKilled")); - String resultDirectDeliver = array.getJsonObject(0).getString("deliverDeliver"); - // if there is a core consumer, the result here would be true (if directDeliver is supported). - // as for what we expect it's either true or false through management, we are not testing for directDeliver here, just - // if management works. - Assert.assertTrue(resultDirectDeliver.equals("true") || resultDirectDeliver.equals("false")); Assert.assertEquals("exclusive", "false", array.getJsonObject(0).getString("exclusive")); Assert.assertEquals("lastValue", "false", array.getJsonObject(0).getString("lastValue")); Assert.assertEquals("scheduledCount", "0", array.getJsonObject(0).getString("scheduledCount"));