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 {

    RedisConnection connection;
    
    @Before
    public void init() {
        Jedis jedis = new Jedis(RedisRunner.getDefaultRedisServerBindAddressAndPort());
        connection = new JedisConnection(jedis);
//        connection = new RedissonConnection(redisson);
    }
    
}

@@ -98,41 +98,8 @@
 st;%0A
-import org.redisson.RedisRunner;%0A
 impo
@@ -163,115 +163,8 @@
 ion;
-%0Aimport org.springframework.data.redis.connection.jedis.JedisConnection;%0A%0Aimport redis.clients.jedis.Jedis;
 %0A%0Apu
@@ -300,147 +300,8 @@
 ) %7B%0A
-        Jedis jedis = new Jedis(RedisRunner.getDefaultRedisServerBindAddressAndPort());%0A        connection = new JedisConnection(jedis);%0A//
     

test fixed