diff --git a/src/test/java/redis/clients/jedis/commands/jedis/JedisCommandsTestBase.java b/src/test/java/redis/clients/jedis/commands/jedis/JedisCommandsTestBase.java index b73e707f19..95b3be34a3 100644 --- a/src/test/java/redis/clients/jedis/commands/jedis/JedisCommandsTestBase.java +++ b/src/test/java/redis/clients/jedis/commands/jedis/JedisCommandsTestBase.java @@ -37,6 +37,7 @@ public static Collection 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 @@ -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(); }