ringles commented on a change in pull request #6489:
URL: https://github.com/apache/geode/pull/6489#discussion_r639267344



##########
File path: 
geode-apis-compatible-with-redis/src/main/java/org/apache/geode/redis/internal/executor/sortedset/ZAddExecutor.java
##########
@@ -47,7 +48,7 @@ public RedisResponse executeCommand(Command command, 
ExecutionHandlerContext con
 
     return RedisResponse
         .integer(redisSortedSetCommands.zadd(command.getKey(),
-            commandElements.subList(optionsFoundCount + 2, 
commandElements.size()),
+            new ArrayList<>(commandElements.subList(optionsFoundCount + 2, 
commandElements.size())),

Review comment:
       Yup, and running locally, sometimes the other ZAddDUnitTest test would 
fail as well.




-- 
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:
us...@infra.apache.org


Reply via email to