You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by su...@apache.org on 2023/10/28 05:35:36 UTC

(incubator-opendal) branch sled-test-planner updated: try

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

suyanhanx pushed a commit to branch sled-test-planner
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/sled-test-planner by this push:
     new 7c4bfcbb4 try
7c4bfcbb4 is described below

commit 7c4bfcbb4e423b02151c755824320a76590b7809
Author: suyanhanx <su...@gmail.com>
AuthorDate: Sat Oct 28 13:35:23 2023 +0800

    try
    
    Signed-off-by: suyanhanx <su...@gmail.com>
---
 .github/actions/behavior_test_core/action.yaml  | 8 ++++++++
 .github/services/sled/sled/action.yml           | 2 +-
 .github/services/sled/sled_with_tree/action.yml | 2 +-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.github/actions/behavior_test_core/action.yaml b/.github/actions/behavior_test_core/action.yaml
index d38d13d24..fc4025771 100644
--- a/.github/actions/behavior_test_core/action.yaml
+++ b/.github/actions/behavior_test_core/action.yaml
@@ -39,11 +39,19 @@ runs:
           - name: Setup Test Core
             uses: ./.github/services/${{ inputs.service }}/${{ inputs.setup }}
           - name: Run Test Core
+            if: ${{ env.OPENDAL_DISABLE_NEXTEST != 'true' }}
             shell: bash
             working-directory: core
             run: cargo nextest run behavior --features ${{ inputs.feature }}
             env:
               OPENDAL_TEST: ${{ inputs.service }}
+          - name: Run Test Core
+            if: ${{ env.OPENDAL_DISABLE_NEXTEST == 'true' }}
+            shell: bash
+            working-directory: core
+            run: cargo test behavior --features ${{ inputs.feature }} -j=1
+            env:
+              OPENDAL_TEST: ${{ inputs.service }}
         EOF
     - name: Run
       uses: ./dynamic_test_core
diff --git a/.github/services/sled/sled/action.yml b/.github/services/sled/sled/action.yml
index f3ff989c3..d45c6a48b 100644
--- a/.github/services/sled/sled/action.yml
+++ b/.github/services/sled/sled/action.yml
@@ -30,7 +30,7 @@ runs:
         cat << EOF >> $GITHUB_ENV
         RUST_BACKTRACE=full
         RUST_LOG=debug
-        NEXTEST_TEST_THREADS=1
+        OPENDAL_DISABLE_NEXTEST=true
         OPENDAL_SLED_ROOT=/
         OPENDAL_SLED_DATADIR=${DATADIR}
         EOF
diff --git a/.github/services/sled/sled_with_tree/action.yml b/.github/services/sled/sled_with_tree/action.yml
index 30587bfe5..d269520ac 100644
--- a/.github/services/sled/sled_with_tree/action.yml
+++ b/.github/services/sled/sled_with_tree/action.yml
@@ -30,7 +30,7 @@ runs:
         cat << EOF >> $GITHUB_ENV
         RUST_BACKTRACE=full
         RUST_LOG=debug
-        NEXTEST_TEST_THREADS=1
+        OPENDAL_DISABLE_NEXTEST=true
         OPENDAL_SLED_ROOT=/
         OPENDAL_SLED_DATADIR=${DATADIR}
         OPENDAL_SLED_TREE=sled-tree