[
https://issues.apache.org/jira/browse/GEODE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254550#comment-16254550
]
ASF GitHub Bot commented on GEODE-3539:
---------------------------------------
jinmeiliao commented on a change in pull request #1052: GEODE-3539: Add missing
test coverage for 'list regions' and 'describe region' commands
URL: https://github.com/apache/geode/pull/1052#discussion_r151294390
##########
File path:
geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ListRegionCommand.java
##########
@@ -110,4 +108,17 @@ public Result listRegion(
}
return result;
}
+
+ public static class ListRegionInterceptor extends
AbstractCliAroundInterceptor {
Review comment:
You probably did not rebase to the current develop, I just made a change in
CommandExecutor to process UserErrorException differently than general
exception. That would probably ease your concern.
The getMemberXXX call would have to throw an exception anyway to catch the
cases where some commands do not do that validation in their interceptors.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add more test coverage for p2p commands
> ---------------------------------------
>
> Key: GEODE-3539
> URL: https://issues.apache.org/jira/browse/GEODE-3539
> Project: Geode
> Issue Type: Improvement
> Components: gfsh
> Reporter: Jinmei Liao
>
> Add more command tests that would eventually get rid of the legacy tests.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)