sabbey37 commented on a change in pull request #5954:
URL: https://github.com/apache/geode/pull/5954#discussion_r565440203



##########
File path: 
geode-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/hash/AbstractHScanIntegrationTest.java
##########
@@ -121,17 +156,10 @@ public void 
givenCount_whenCountParameterIsNegative_returnsSyntaxError() {
   }
 
   @Test
-  public void 
givenMultipleCounts_whenAnyCountParameterIsNotAnInteger_returnsNotIntegerError()
 {
-    jedis.hset("a", "b", "1");
-    assertThatThrownBy(() -> jedis.sendCommand(Protocol.Command.HSCAN, "a", 
"0", "COUNT", "3",
-        "COUNT", "sjlfs", "COUNT", "1"))
-            .hasMessageContaining(ERROR_NOT_INTEGER);
-  }
+  public void 
givenMultipleCounts_whenAnyCountParameterIsLessThanOne_DoesNotError() {
+    jedis.hset("key", "b", "1");

Review comment:
       The title of this test seems incorrect.  When any count parameter is 
less than 1, we return a syntax error.  maybe instead of saying `DoesNotError` 
we could change it back to `returnsSyntaxError`




----------------------------------------------------------------
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:
[email protected]


Reply via email to