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

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


The following commit(s) were added to refs/heads/master by this push:
     new 21a5926270 HDDS-9359. Parameter for fail-fast behavior in 
flaky-test-check (#5371)
21a5926270 is described below

commit 21a59262709d021bbf93c2cbf44c4455f0fcb4ff
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Fri Sep 29 13:45:11 2023 +0200

    HDDS-9359. Parameter for fail-fast behavior in flaky-test-check (#5371)
---
 .github/workflows/intermittent-test-check.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/intermittent-test-check.yml 
b/.github/workflows/intermittent-test-check.yml
index 8b66ee405e..b6e17fd080 100644
--- a/.github/workflows/intermittent-test-check.yml
+++ b/.github/workflows/intermittent-test-check.yml
@@ -36,11 +36,16 @@ on:
         description: Number of splits
         default: 2
         required: true
+      fail-fast:
+        description: Stop after first failure
+        default: false
+        required: true
 env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.http.retryHandler.class=standard 
-Dmaven.wagon.http.retryHandler.count=3
   TEST_CLASS: ${{ github.event.inputs.test-class}}
   TEST_METHOD: ${{ github.event.inputs.test-name }}
   ITERATIONS: ${{ github.event.inputs.iterations }}
+  FAIL_FAST: ${{ github.event.inputs.fail-fast }}
 jobs:
   prepare-job:
     runs-on: ubuntu-20.04
@@ -93,6 +98,7 @@ jobs:
     strategy:
       matrix:
         split: ${{fromJson(needs.prepare-job.outputs.matrix)}}  # Define  
splits
+      fail-fast: ${{ fromJson(github.event.inputs.fail-fast) }}
     steps:
       - uses: actions/checkout@v3
         with:
@@ -142,4 +148,4 @@ jobs:
           #Never cache local artifacts
           rm -rf ~/.m2/repository/org/apache/ozone/hdds*
           rm -rf ~/.m2/repository/org/apache/ozone/ozone*
-        if: always()
\ No newline at end of file
+        if: always()


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to