Skip to content

Commit

Permalink
Use SinceRedisVersion instead of "EnableOnCmmand" because of #4020
Browse files Browse the repository at this point in the history
  • Loading branch information
ggivo committed Nov 11, 2024
1 parent 6f2ced5 commit 7862280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/redis/clients/jedis/JedisClusterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -668,7 +669,7 @@ public void testInvalidStartNodeNotAdded() {
}

@Test
@EnabledOnCommand(value = "CLUSTER", subCommand = "LINKS")
@SinceRedisVersion("7.0.0")
public void clusterLinks2() {
Set<String> mapKeys = new HashSet<>(Arrays.asList("direction", "node", "create-time", "events",
"send-buffer-allocated", "send-buffer-used"));
Expand Down

0 comments on commit 7862280

Please sign in to comment.