upthewaterspout commented on a change in pull request #6847:
URL: https://github.com/apache/geode/pull/6847#discussion_r705611856



##########
File path: 
geode-apis-compatible-with-redis/src/main/java/org/apache/geode/redis/internal/parameters/ClusterParameterRequirements.java
##########
@@ -27,7 +27,7 @@ public void checkParameters(Command command, 
ExecutionHandlerContext context) {
 
     if (numberOfArguments < 2) {
       throw new 
RedisParametersMismatchException(command.wrongNumberOfArgumentsErrorMessage());
-    } else if (numberOfArguments > 2) {
+    } else if (numberOfArguments > 3) {

Review comment:
       I've added some more tests to the `AbstractClusterIntegrationTest`. I 
changed this `ClusterParameterRequirements` class because the command `CLUSTER 
KEYSLOT XXX` has three arguments. I added additional validation into the 
`ClusterExecutor`




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to