You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2019/09/17 12:49:28 UTC
[GitHub] [activemq-artemis] clebertsuconic commented on a change in pull
request #2841: Simplifying Scale down remove queue logic
clebertsuconic commented on a change in pull request #2841: Simplifying Scale down remove queue logic
URL: https://github.com/apache/activemq-artemis/pull/2841#discussion_r325146818
##########
File path: tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/ScaleDownRemoveSFTest.java
##########
@@ -133,15 +115,8 @@ public void testScaleDownCheckSF() throws Exception {
removeConsumer(0);
//check
- result = servers[1].queueQuery(sfQueueName);
- AddressQueryResult result2 = servers[1].addressQuery(sfQueueName);
- if ("true".equals(option)) {
- assertFalse(result.isExists());
- assertFalse(result2.isExists());
- } else {
- assertTrue(result.isExists());
- assertTrue(result2.isExists());
- }
+ Assert.assertFalse(servers[1].queueQuery(sfQueueName).isExists());
+ Assert.assertFalse(servers[1].addressQuery(sfQueueName).isExists());
Review comment:
will do.. thanks!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services