From 4dce46e9be39abe35b983d877318b4b7675bdee5 Mon Sep 17 00:00:00 2001 From: Thomas-HuWei Date: Fri, 5 Jul 2024 15:38:32 +0800 Subject: [PATCH] try to fix milvus e2e --- .../org/apache/seatunnel/e2e/connector/v2/milvus/MilvusIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-milvus-e2e/src/test/java/org/apache/seatunnel/e2e/connector/v2/milvus/MilvusIT.java b/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-milvus-e2e/src/test/java/org/apache/seatunnel/e2e/connector/v2/milvus/MilvusIT.java index ac51a6df41bf..6b200078f47c 100644 --- a/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-milvus-e2e/src/test/java/org/apache/seatunnel/e2e/connector/v2/milvus/MilvusIT.java +++ b/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-milvus-e2e/src/test/java/org/apache/seatunnel/e2e/connector/v2/milvus/MilvusIT.java @@ -77,7 +77,8 @@ public class MilvusIT extends TestSuiteBase implements TestResource { @Override public void startUp() throws Exception { this.container = new MilvusContainer(MILVUS_IMAGE); - log.info("Milvus host is {}", container.getHost()); + this.container.setNetwork(NETWORK); + log.info("Milvus host is {}", container.getEndpoint()); Startables.deepStart(Stream.of(this.container)).join(); log.info("Milvus container started"); Awaitility.given().ignoreExceptions().await().atMost(720L, TimeUnit.SECONDS);