|
|
|
@ -2,11 +2,7 @@ package org.redisson.spring.data.connection;
|
|
|
|
|
|
|
|
|
|
import org.junit.Before;
|
|
|
|
|
import org.redisson.BaseTest;
|
|
|
|
|
import org.redisson.RedisRunner;
|
|
|
|
|
import org.springframework.data.redis.connection.RedisConnection;
|
|
|
|
|
import org.springframework.data.redis.connection.jedis.JedisConnection;
|
|
|
|
|
|
|
|
|
|
import redis.clients.jedis.Jedis;
|
|
|
|
|
|
|
|
|
|
public abstract class BaseConnectionTest extends BaseTest {
|
|
|
|
|
|
|
|
|
@ -14,9 +10,7 @@ public abstract class BaseConnectionTest extends BaseTest {
|
|
|
|
|
|
|
|
|
|
@Before
|
|
|
|
|
public void init() {
|
|
|
|
|
Jedis jedis = new Jedis(RedisRunner.getDefaultRedisServerBindAddressAndPort());
|
|
|
|
|
connection = new JedisConnection(jedis);
|
|
|
|
|
// connection = new RedissonConnection(redisson);
|
|
|
|
|
connection = new RedissonConnection(redisson);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|