You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/09/08 17:08:08 UTC
[GitHub] [geode] DonalEvans commented on a change in pull request #6841: GEODE:9577: Make PSETEX and SETEX supported commands
DonalEvans commented on a change in pull request #6841:
URL: https://github.com/apache/geode/pull/6841#discussion_r704614431
##########
File path: geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/string/AbstractPSetEXIntegrationTest.java
##########
@@ -55,4 +56,17 @@ public void testPSetEX() {
assertThat(jedis.pttl("key")).isGreaterThanOrEqualTo(1500);
}
+
+ @Test
+ public void givenMoreThanFourArgumentsProvided_returnsWrongNumberOfArgumentsError() {
Review comment:
This case is covered already by the `errors_givenWrongNumberOfArguments()` test, which uses the `assertExactNumberOfArgs()` method to verify that any number of arguments other than the expected (either too many or too few) results in a "ERR wrong number of arguments" message.
--
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: notifications-unsubscribe@geode.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org