diff --git a/src/test/java/redis/clients/jedis/JedisClusterTest.java b/src/test/java/redis/clients/jedis/JedisClusterTest.java index f29e735617..f5fdce46b3 100644 --- a/src/test/java/redis/clients/jedis/JedisClusterTest.java +++ b/src/test/java/redis/clients/jedis/JedisClusterTest.java @@ -27,6 +27,7 @@ import java.util.concurrent.TimeUnit; import io.redis.test.annotations.EnabledOnCommand; +import io.redis.test.annotations.SinceRedisVersion; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import org.junit.Test; @@ -668,7 +669,7 @@ public void testInvalidStartNodeNotAdded() { } @Test - @EnabledOnCommand(value = "CLUSTER", subCommand = "LINKS") + @SinceRedisVersion("7.0.0") public void clusterLinks2() { Set mapKeys = new HashSet<>(Arrays.asList("direction", "node", "create-time", "events", "send-buffer-allocated", "send-buffer-used"));