From d7ac861cab28bc39f87c1af464ec4d319a0cbb37 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期二, 19 十一月 2024 15:46:15 +0800 Subject: [PATCH] test配置增加deploy.server属性,解决多网卡ip注册错误的问题 --- iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/InfluxDBTest.java | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/InfluxDBTest.java b/iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/InfluxDBTest.java index 8dc472b..026c73a 100644 --- a/iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/InfluxDBTest.java +++ b/iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/InfluxDBTest.java @@ -3,11 +3,9 @@ import com.iailab.module.data.influxdb.pojo.InfluxPointValuePOJO; import com.iailab.module.data.influxdb.pojo.InfluxPointValueSimPOJO; import com.iailab.module.data.influxdb.service.InfluxDBService; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; + import javax.annotation.Resource; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; import java.util.ArrayList; import java.util.Calendar; @@ -19,8 +17,6 @@ * @Description * @createTime 2023年12月10日 12:19:00 */ -@SpringBootTest -@RunWith(SpringRunner.class) public class InfluxDBTest { @Resource -- Gitblit v1.9.3