Skip to content

Commit 7aad706

Browse files
committed
Add missing ClusterHashesCommandsTest
1 parent 344ded3 commit 7aad706

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package redis.clients.jedis.commands.unified.cluster;
2+
3+
import org.junit.After;
4+
import org.junit.Before;
5+
import org.junit.runner.RunWith;
6+
import org.junit.runners.Parameterized;
7+
import redis.clients.jedis.RedisProtocol;
8+
import redis.clients.jedis.commands.unified.HashesCommandsTestBase;
9+
10+
@RunWith(Parameterized.class)
11+
public class ClusterHashesCommandsTest extends HashesCommandsTestBase {
12+
13+
public ClusterHashesCommandsTest(RedisProtocol protocol) {
14+
super(protocol);
15+
}
16+
17+
@Before
18+
public void setUp() {
19+
jedis = ClusterCommandsTestHelper.getCleanCluster(protocol);
20+
}
21+
22+
@After
23+
public void tearDown() {
24+
jedis.close();
25+
ClusterCommandsTestHelper.clearClusterData();
26+
}
27+
}

0 commit comments

Comments
 (0)