Skip to content

Commit

Permalink
Use SinceRedisVersion instead of "EnableOnCommand" because of #4020
Browse files Browse the repository at this point in the history
  • Loading branch information
ggivo committed Nov 11, 2024
1 parent 7862280 commit 3587b4c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import java.util.Arrays;
import java.util.List;

import io.redis.test.annotations.EnabledOnCommand;
import io.redis.test.annotations.SinceRedisVersion;
import org.hamcrest.Matchers;
import org.junit.After;
Expand Down Expand Up @@ -234,7 +233,7 @@ public void aclExcudeSingleCommand() {
}

@Test
@EnabledOnCommand(value = "ACL", subCommand = "DRYRUN")
@SinceRedisVersion("7.0.0")
public void aclDryRun() {
jedis.aclSetUser(USER_NAME, "nopass", "allkeys", "+set", "-get");

Expand All @@ -249,7 +248,7 @@ public void aclDryRun() {
}

@Test
@EnabledOnCommand(value = "ACL", subCommand = "DRYRUN")
@SinceRedisVersion("7.0.0")
public void aclDryRunBinary() {
byte[] username = USER_NAME.getBytes();

Expand Down

0 comments on commit 3587b4c

Please sign in to comment.