mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-05 10:29:56 +08:00
修复junit5单侧问题
This commit is contained in:
@@ -7,6 +7,7 @@ package sanbing.jcpp.infrastructure.cache;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.junit.jupiter.api.Order;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
|
||||
import org.springframework.data.redis.core.*;
|
||||
import sanbing.jcpp.AbstractTestBase;
|
||||
|
||||
@@ -16,6 +17,7 @@ import java.util.Objects;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
@EnabledIfSystemProperty(named = "cache.type", matches = "redis")
|
||||
class RedisCacheConfigurationIT extends AbstractTestBase {
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
redis.connection.type=cluster
|
||||
redis.cluster.nodes=10.102.12.101:30700,10.102.12.101:32027,10.102.12.101:30767,10.102.12.101:30250,10.102.12.101:30612,10.102.12.101:32303
|
||||
service.protocols.yunkuaichongV150.listener.tcp.bind-port=0
|
||||
Reference in New Issue
Block a user