Skip to content

Commit

Permalink
Update src/test/java/redis/clients/jedis/commands/commandobjects/Comm…
Browse files Browse the repository at this point in the history
…andObjectsTestBase.java

Co-authored-by: M Sazzadul Hoque <[email protected]>
  • Loading branch information
ggivo and sazzad16 authored Dec 2, 2024
1 parent 09ffff5 commit eae2f4f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,11 @@ public void setUp() {
commandExecutor.executeCommand(commandObjects.flushAll()),
equalTo("OK"));

if ( RedisVersionUtil
.getRedisVersion(endpoint)
if (RedisVersionUtil.getRedisVersion(endpoint)
.isGreaterThanOrEqualTo(RedisVersion.V7_0_0)) {
assertThat(
commandExecutor.executeCommand(commandObjects.functionFlush(FlushMode.SYNC)),
equalTo("OK"));

}
}

Expand Down

0 comments on commit eae2f4f

Please sign in to comment.