PooledHyperLogLogCommandsTest.java
package redis.clients.jedis.commands.unified.pooled;
import org.junit.After;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import redis.clients.jedis.RedisProtocol;
import redis.clients.jedis.commands.unified.HyperLogLogCommandsTestBase;
@RunWith(Parameterized.class)
public class PooledHyperLogLogCommandsTest extends HyperLogLogCommandsTestBase {
public PooledHyperLogLogCommandsTest(RedisProtocol protocol) {
super(protocol);
}
@Before
public void setUp() {
jedis = PooledCommandsTestHelper.getPooled(protocol);
PooledCommandsTestHelper.clearData();
}
@After
public void cleanUp() {
jedis.close();
}
}