You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/03/01 02:33:20 UTC

[iotdb] branch rel/1.0 updated: Fix UT error

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

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


The following commit(s) were added to refs/heads/rel/1.0 by this push:
     new fb16b735c0 Fix UT error
fb16b735c0 is described below

commit fb16b735c092a7acdd8cef9600d143c17aa075cf
Author: Haonan <hh...@outlook.com>
AuthorDate: Wed Mar 1 10:33:14 2023 +0800

    Fix UT error
---
 .github/workflows/main-unix.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/main-unix.yml b/.github/workflows/main-unix.yml
index 1d471e745b..bfd4956539 100644
--- a/.github/workflows/main-unix.yml
+++ b/.github/workflows/main-unix.yml
@@ -31,7 +31,7 @@ env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
 
 jobs:
-  unix:
+  ut:
     strategy:
       fail-fast: false
       max-parallel: 20
@@ -58,7 +58,9 @@ jobs:
           restore-keys: ${{ runner.os }}-m2-
       - name: Check Apache Rat
         run: mvn -B apache-rat:check -P site -P code-coverage
-      - name: IT/UT Test
+      - name: Unit Test
         shell: bash
         # we do not compile client-cpp for saving time, it is tested in client.yml
-        run: mvn -B clean test -Dtest.port.closed=true -P '!testcontainer' -P get-jar-with-dependencies
+        run: |
+          mvn clean install -DskipTests
+          mvn -B clean test -Dtest.port.closed=true -P '!testcontainer' -P get-jar-with-dependencies