Skip to content

Commit

Permalink
Undo JedisCommandsTestBase.java formatting only changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 authored Dec 1, 2024
1 parent 4445bf6 commit a491286
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public static Collection<Object[]> data() {
protected final RedisProtocol protocol;

protected Jedis jedis;

/**
* The RESP protocol is to be injected by the subclasses, usually via JUnit
* parameterized tests, because most of the subclassed tests are meant to be
Expand All @@ -53,8 +54,7 @@ public JedisCommandsTestBase(RedisProtocol protocol) {
@Before
public void setUp() throws Exception {
jedis = new Jedis(endpoint.getHostAndPort(), endpoint.getClientConfigBuilder()
.protocol(protocol)
.timeoutMillis(500).build());
.protocol(protocol).timeoutMillis(500).build());
jedis.flushAll();
}

Expand Down

0 comments on commit a491286

Please sign in to comment.