Skip to content

Commit

Permalink
fix up merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kiryazovi-redis committed Feb 14, 2025
1 parent a1e2371 commit c7c60fd
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

import javax.inject.Inject;

import io.lettuce.core.api.StatefulRedisConnection;
import io.lettuce.test.resource.DefaultRedisClient;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -68,11 +66,9 @@ protected AclCommandIntegrationTests(RedisCommands<String, String> redis) {

@BeforeEach
void setUp() {
try ( StatefulRedisConnection<String,String> conn = DefaultRedisClient.get().connect(StringCodec.ASCII)) {
conn.sync().flushall();
conn.sync().aclUsers().stream().filter(o -> !"default".equals(o)).forEach(redis::aclDeluser);
conn.sync().aclLogReset();
}
redis.flushall();
redis.aclUsers().stream().filter(o -> !"default".equals(o)).forEach(redis::aclDeluser);
redis.aclLogReset();
}

@Test
Expand Down

0 comments on commit c7c60fd

Please sign in to comment.