Skip to content

Commit 8dfb647

Browse files
author
陈海晴(jennyhq.chen)
committed
[ISSUE-138][Feature]: Support Unit5 Test For Clickhouse Connector
1 parent eb9226d commit 8dfb647

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ jobs:
3434
java-version: ${{ matrix.java-version }}
3535
distribution: 'adopt'
3636
cache: maven
37+
- name: Set up Docker Buildx
38+
uses: docker/setup-buildx-action@v1
3739
- name: Build with Maven
3840
run: ./mvnw verify

flink-connector-clickhouse-e2e-test/pom.xml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ limitations under the License.
4343
<dependency>
4444
<groupId>org.testcontainers</groupId>
4545
<artifactId>clickhouse</artifactId>
46-
<version>1.19.8</version>
46+
<version>${testcontainer.version}</version>
4747
</dependency>
4848
<dependency>
4949
<groupId>com.clickhouse</groupId>
@@ -60,26 +60,22 @@ limitations under the License.
6060
<dependency>
6161
<groupId>org.apache.httpcomponents.client5</groupId>
6262
<artifactId>httpclient5</artifactId>
63-
<version>5.2.1</version>
63+
<version>${httpclient5.version}</version>
6464
<scope>test</scope>
6565
</dependency>
6666
<dependency>
6767
<groupId>org.apache.httpcomponents.core5</groupId>
6868
<artifactId>httpcore5</artifactId>
69-
<version>5.2</version>
69+
<version>${httpcore5.version}</version>
7070
<scope>test</scope>
7171
</dependency>
7272
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5-h2 -->
7373
<dependency>
7474
<groupId>org.apache.httpcomponents.core5</groupId>
7575
<artifactId>httpcore5-h2</artifactId>
76-
<version>5.2</version>
76+
<version>${httpcore5.version}</version>
7777
<scope>test</scope>
7878
</dependency>
79-
80-
81-
82-
8379
</dependencies>
8480
<build>
8581
<plugins>

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ limitations under the License.
6868
<guava.version>32.1.3-jre</guava.version>
6969
<jackson.version>2.12.4</jackson.version>
7070
<commons-lang3.version>3.13.0</commons-lang3.version>
71+
<testcontainer.version>1.19.8</testcontainer.version>
72+
<httpclient5.version>5.2.1</httpclient5.version>
73+
<httpcore5.version>5.2</httpcore5.version>
7174
<shade.base>org.apache.flink.shaded.clickhouse</shade.base>
7275
<flink.parent.artifactId>flink-connector-clickhouse-parent</flink.parent.artifactId>
7376
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>

0 commit comments

Comments
 (0)