解决 redis 和 mysql 在单元测试会报错的问题

This commit is contained in:
YunaiV
2021-03-01 01:02:25 +08:00
parent 3320f42bd7
commit e9f2e91f7e
8 changed files with 16 additions and 24 deletions

View File

@@ -31,7 +31,7 @@ spring:
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis:
host: 127.0.0.1 # 地址
port: 36379 # 端口(单元测试,使用 363979 端口)
port: 16379 # 端口(单元测试,使用 16379 端口)
database: 0 # 数据库索引
--- #################### 定时任务相关配置 ####################