Skip to content

Commit 4e86383

Browse files
committed
Fix network creation for cloud
1 parent 0dd6c81 commit 4e86383

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flink-connector-clickhouse-base/src/testFixtures/java/org/apache/flink/connector/test/embedded/clickhouse/ClickHouseServerForTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ public static void tearDown() {
8686
}
8787

8888
public static Network getNetwork() {
89+
if (isCloud())
90+
return Network.newNetwork();
8991
return db.getNetwork();
9092
}
9193

0 commit comments

Comments
 (0)