activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject [activemq-artemis] branch master updated: ARTEMIS-3043 - remove reference to improperly named field, now corrected, from test
Date Wed, 06 Jan 2021 20:20:07 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 4e70fcd  ARTEMIS-3043 - remove reference to improperly named field, now corrected,
from test
4e70fcd is described below

commit 4e70fcdb5277228b9a23f3dd17cd2d236dfb7f5e
Author: gtully <gary.tully@gmail.com>
AuthorDate: Wed Jan 6 20:19:49 2021 +0000

    ARTEMIS-3043 - remove reference to improperly named field, now corrected, from test
---
 .../tests/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 f03914a..7ae3606 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"));


Mime
View raw message