Skip to content

Commit 64a115b

Browse files
committed
more tests
1 parent 7301775 commit 64a115b

File tree

3 files changed

+195
-0
lines changed

3 files changed

+195
-0
lines changed
+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Cluster IT - 1C3D (DUP 1)
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 'rel/1.*'
8+
- pipe-meta-sync
9+
paths-ignore:
10+
- 'docs/**'
11+
- 'site/**'
12+
pull_request:
13+
branches:
14+
- master
15+
- 'rel/1.*'
16+
- pipe-meta-sync
17+
paths-ignore:
18+
- 'docs/**'
19+
- 'site/**'
20+
# allow manually run the action:
21+
workflow_dispatch:
22+
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
27+
env:
28+
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
29+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
30+
31+
jobs:
32+
Simple:
33+
strategy:
34+
fail-fast: false
35+
max-parallel: 20
36+
matrix:
37+
java: [ 8, 11, 17, 8, 11, 17, 8, 11, 17, 8, 11, 17, 8, 11, 17 ]
38+
runs-on: [self-hosted, iotdb]
39+
# group: self-hosted
40+
# labels: iotdb
41+
steps:
42+
- uses: actions/checkout@v4
43+
- name: Set up JDK ${{ matrix.java }}
44+
uses: actions/setup-java@v4
45+
with:
46+
distribution: liberica
47+
java-version: ${{ matrix.java }}
48+
- name: IT/UT Test
49+
shell: bash
50+
# we do not compile client-cpp for saving time, it is tested in client.yml
51+
# we can skip influxdb-protocol because it has been tested separately in influxdb-protocol.yml
52+
run: |
53+
mvn clean verify \
54+
-P with-integration-tests \
55+
-DskipUTs \
56+
-DintegrationTest.forkCount=6 -DConfigNodeMaxHeapSize=1024 -DDataNodeMaxHeapSize=1024 \
57+
-pl integration-test \
58+
-am -PClusterIT2
59+
- name: Upload Artifact
60+
if: failure()
61+
uses: actions/upload-artifact@v4
62+
with:
63+
name: cluster-log-java${{ matrix.java }}-${{ runner.os }}
64+
path: integration-test/target/cluster-logs
65+
retention-days: 1
+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Cluster IT - 1C3D (DUP 2)
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 'rel/1.*'
8+
- pipe-meta-sync
9+
paths-ignore:
10+
- 'docs/**'
11+
- 'site/**'
12+
pull_request:
13+
branches:
14+
- master
15+
- 'rel/1.*'
16+
- pipe-meta-sync
17+
paths-ignore:
18+
- 'docs/**'
19+
- 'site/**'
20+
# allow manually run the action:
21+
workflow_dispatch:
22+
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
27+
env:
28+
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
29+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
30+
31+
jobs:
32+
Simple:
33+
strategy:
34+
fail-fast: false
35+
max-parallel: 20
36+
matrix:
37+
java: [ 8, 11, 17, 8, 11, 17, 8, 11, 17, 8, 11, 17, 8, 11, 17 ]
38+
runs-on: [self-hosted, iotdb]
39+
# group: self-hosted
40+
# labels: iotdb
41+
steps:
42+
- uses: actions/checkout@v4
43+
- name: Set up JDK ${{ matrix.java }}
44+
uses: actions/setup-java@v4
45+
with:
46+
distribution: liberica
47+
java-version: ${{ matrix.java }}
48+
- name: IT/UT Test
49+
shell: bash
50+
# we do not compile client-cpp for saving time, it is tested in client.yml
51+
# we can skip influxdb-protocol because it has been tested separately in influxdb-protocol.yml
52+
run: |
53+
mvn clean verify \
54+
-P with-integration-tests \
55+
-DskipUTs \
56+
-DintegrationTest.forkCount=6 -DConfigNodeMaxHeapSize=1024 -DDataNodeMaxHeapSize=1024 \
57+
-pl integration-test \
58+
-am -PClusterIT2
59+
- name: Upload Artifact
60+
if: failure()
61+
uses: actions/upload-artifact@v4
62+
with:
63+
name: cluster-log-java${{ matrix.java }}-${{ runner.os }}
64+
path: integration-test/target/cluster-logs
65+
retention-days: 1
+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Cluster IT - 1C3D (DUP 3)
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 'rel/1.*'
8+
- pipe-meta-sync
9+
paths-ignore:
10+
- 'docs/**'
11+
- 'site/**'
12+
pull_request:
13+
branches:
14+
- master
15+
- 'rel/1.*'
16+
- pipe-meta-sync
17+
paths-ignore:
18+
- 'docs/**'
19+
- 'site/**'
20+
# allow manually run the action:
21+
workflow_dispatch:
22+
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
27+
env:
28+
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
29+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
30+
31+
jobs:
32+
Simple:
33+
strategy:
34+
fail-fast: false
35+
max-parallel: 20
36+
matrix:
37+
java: [ 8, 11, 17, 8, 11, 17, 8, 11, 17, 8, 11, 17, 8, 11, 17 ]
38+
runs-on: [self-hosted, iotdb]
39+
# group: self-hosted
40+
# labels: iotdb
41+
steps:
42+
- uses: actions/checkout@v4
43+
- name: Set up JDK ${{ matrix.java }}
44+
uses: actions/setup-java@v4
45+
with:
46+
distribution: liberica
47+
java-version: ${{ matrix.java }}
48+
- name: IT/UT Test
49+
shell: bash
50+
# we do not compile client-cpp for saving time, it is tested in client.yml
51+
# we can skip influxdb-protocol because it has been tested separately in influxdb-protocol.yml
52+
run: |
53+
mvn clean verify \
54+
-P with-integration-tests \
55+
-DskipUTs \
56+
-DintegrationTest.forkCount=6 -DConfigNodeMaxHeapSize=1024 -DDataNodeMaxHeapSize=1024 \
57+
-pl integration-test \
58+
-am -PClusterIT2
59+
- name: Upload Artifact
60+
if: failure()
61+
uses: actions/upload-artifact@v4
62+
with:
63+
name: cluster-log-java${{ matrix.java }}-${{ runner.os }}
64+
path: integration-test/target/cluster-logs
65+
retention-days: 1

0 commit comments

Comments
 (0)