This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 78634968b9c change ci to github ci (#12073)
78634968b9c is described below

commit 78634968b9c3fc0844d0ded7c1f13b0eb4d90f27
Author: CritasWang <[email protected]>
AuthorDate: Tue Feb 27 09:26:00 2024 +0800

    change ci to github ci (#12073)
---
 .github/workflows/cluster-it-1c3d.yml | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/cluster-it-1c3d.yml 
b/.github/workflows/cluster-it-1c3d.yml
index 79f4231e7e3..7f13ffc84de 100644
--- a/.github/workflows/cluster-it-1c3d.yml
+++ b/.github/workflows/cluster-it-1c3d.yml
@@ -35,9 +35,8 @@ jobs:
       max-parallel: 20
       matrix:
         java: [ 8, 11, 17 ]
-    runs-on: [self-hosted, iotdb]
-#      group: self-hosted
-#      labels: iotdb
+        os: [ ubuntu-latest ]
+    runs-on: ${{ matrix.os }}
     steps:
       - uses: actions/checkout@v4
       - name: Set up JDK ${{ matrix.java }}
@@ -45,6 +44,16 @@ jobs:
         with:
           distribution: liberica
           java-version: ${{ matrix.java }}
+      - name: Cache Maven packages
+        uses: actions/cache@v3
+        with:
+          path: ~/.m2
+          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+          restore-keys: ${{ runner.os }}-m2-
+      - name: Adjust Linux kernel somaxconn
+        if: ${{ runner.os == 'Linux' }}
+        shell: bash
+        run: sudo sysctl -w net.core.somaxconn=65535
       - name: IT/UT Test
         shell: bash
         # we do not compile client-cpp for saving time, it is tested in 
client.yml
@@ -53,7 +62,6 @@ jobs:
           mvn clean verify \
           -P with-integration-tests \
           -DskipUTs \
-          -DintegrationTest.forkCount=6 -DConfigNodeMaxHeapSize=1024 
-DDataNodeMaxHeapSize=1024 \
           -pl integration-test \
           -am -PClusterIT
       - name: Upload Artifact

Reply via email to