重新配置集成测试 #9

Merged
xiaohai2271 merged 10 commits from feature-test into master 2020-08-15 02:39:46 +08:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 5a47803611 - Show all commits

View File

@@ -79,8 +79,8 @@ spring.mail.properties.mail.smtp.socketFactory.fallback=false
spring.redis.database=1 spring.redis.database=1
# Redis服务器地址 # Redis服务器地址
spring.redis.host=127.0.0.1 spring.redis.host=127.0.0.1
# Redis服务器连接端口 # Redis服务器连接端口 解决端口冲突 防止使用本地的redis
spring.redis.port=6379 spring.redis.port=6380
# Redis服务器连接密码默认为空 # Redis服务器连接密码默认为空
spring.redis.password= spring.redis.password=
# 连接池最大连接数(使用负值表示没有限制) # 连接池最大连接数(使用负值表示没有限制)

View File

@@ -23,7 +23,7 @@ public class RedisServerMock {
*/ */
@PostConstruct @PostConstruct
public void startRedis() throws IOException { public void startRedis() throws IOException {
redisServer = new RedisServer(6379); redisServer = new RedisServer(6380);
redisServer.start(); redisServer.start();
} }