修复junit5单侧问题

This commit is contained in:
三丙
2024-10-09 12:53:18 +08:00
parent fc6e73c5c4
commit f6fdc9b507
3 changed files with 20 additions and 8 deletions

View File

@@ -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

View File

@@ -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