There was an error while loading. Please reload this page.
1 parent cc6bde6 commit 30b06a9Copy full SHA for 30b06a9
src/test/java/org/springframework/data/redis/connection/jedis/JedisClusterConnectionTests.java
@@ -58,7 +58,6 @@
58
import redis.clients.jedis.HostAndPort;
59
import redis.clients.jedis.JedisCluster;
60
import redis.clients.jedis.JedisPool;
61
-import redis.clients.jedis.exceptions.JedisDataException;
62
63
/**
64
* @author Christoph Strobl
@@ -102,7 +101,7 @@ public void tearDown() throws IOException {
102
101
for (JedisPool pool : nativeConnection.getClusterNodes().values()) {
103
try {
104
pool.getResource().flushDB();
105
-} catch (JedisDataException e) {
+} catch (Exception e) {
106
// ignore this one since we cannot remove data from slaves
107
}
108
0 commit comments