|
|
@ -7,7 +7,6 @@ import com.alibaba.fastjson.serializer.SerializerFeature; |
|
|
import com.gaotao.common.utils.RandomUtil; |
|
|
import com.gaotao.common.utils.RandomUtil; |
|
|
import com.gaotao.common.utils.RedisUtils; |
|
|
import com.gaotao.common.utils.RedisUtils; |
|
|
import com.gaotao.modules.sys.entity.SysUserEntity; |
|
|
import com.gaotao.modules.sys.entity.SysUserEntity; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
|
import org.apache.commons.lang.builder.ToStringBuilder; |
|
|
import org.apache.commons.lang.builder.ToStringBuilder; |
|
|
import org.junit.Test; |
|
|
import org.junit.Test; |
|
|
import org.junit.runner.RunWith; |
|
|
import org.junit.runner.RunWith; |
|
|
@ -23,7 +22,6 @@ import static cn.hutool.core.thread.ThreadUtil.sleep; |
|
|
|
|
|
|
|
|
@RunWith(SpringRunner.class) |
|
|
@RunWith(SpringRunner.class) |
|
|
@SpringBootTest |
|
|
@SpringBootTest |
|
|
@Slf4j |
|
|
|
|
|
public class RedisTest { |
|
|
public class RedisTest { |
|
|
@Autowired |
|
|
@Autowired |
|
|
private RedisUtils redisUtils; |
|
|
private RedisUtils redisUtils; |
|
|
|