You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ne...@apache.org on 2023/02/14 18:56:19 UTC
[helix] branch master updated: Re-retry failing flaky tests from CI pipeline (#2367)
This is an automated email from the ASF dual-hosted git repository.
nealsun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git
The following commit(s) were added to refs/heads/master by this push:
new b7c62b534 Re-retry failing flaky tests from CI pipeline (#2367)
b7c62b534 is described below
commit b7c62b5346d50e20f0b40ef463ed0663aad9e1ac
Author: Rahul Rane <ra...@gmail.com>
AuthorDate: Tue Feb 14 10:56:12 2023 -0800
Re-retry failing flaky tests from CI pipeline (#2367)
Add rerun option for failing flaky tests from CI pipeline.
---
.github/workflows/Helix-CI.yml | 4 ++--
.github/workflows/Helix-Manual-CI.yml | 2 +-
.github/workflows/Helix-PR-CI.yml | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/Helix-CI.yml b/.github/workflows/Helix-CI.yml
index 3444d7984..8d3d9fd5b 100644
--- a/.github/workflows/Helix-CI.yml
+++ b/.github/workflows/Helix-CI.yml
@@ -17,9 +17,9 @@ jobs:
with:
java-version: 1.8
- name: Build with Maven
- run: mvn clean install -Dmaven.test.skip.exec=true
+ run: mvn clean install -Dmaven.test.skip.exec=true -DretryFailedDeploymentCount=5
- name: Run All Tests
- run: mvn -q -fae test
+ run: mvn -q -fae -Dsurefire.rerunFailingTestsCount=5 test
- name: Upload to Codecov
run: bash <(curl -s https://codecov.io/bash)
if: ${{ github.repository == 'apache/helix' && github.event_name == 'push' && (success() || failure()) }}
diff --git a/.github/workflows/Helix-Manual-CI.yml b/.github/workflows/Helix-Manual-CI.yml
index 97013447f..b57ecf3f3 100644
--- a/.github/workflows/Helix-Manual-CI.yml
+++ b/.github/workflows/Helix-Manual-CI.yml
@@ -29,7 +29,7 @@ jobs:
with:
java-version: 1.8
- name: Build with Maven
- run: mvn clean install -Dmaven.test.skip.exec=true
+ run: mvn clean install -Dmaven.test.skip.exec=true -DretryFailedDeploymentCount=5
- name: Run All Tests
run: mvn -B -V -e -ntp "-Dstyle.color=always" ${{ github.event.inputs.mvnOpts }} ${{ github.event.inputs.goals }}
- name: Print Tests Results
diff --git a/.github/workflows/Helix-PR-CI.yml b/.github/workflows/Helix-PR-CI.yml
index 7ad3c89fe..c0cfcaab0 100644
--- a/.github/workflows/Helix-PR-CI.yml
+++ b/.github/workflows/Helix-PR-CI.yml
@@ -19,9 +19,9 @@ jobs:
with:
java-version: 1.8
- name: Build with Maven
- run: mvn clean install -Dmaven.test.skip.exec=true
+ run: mvn clean install -Dmaven.test.skip.exec=true -DretryFailedDeploymentCount=5
- name: Run All Tests
- run: mvn -q -fae test
+ run: mvn -q -fae -Dsurefire.rerunFailingTestsCount=5 test
- name: Print Tests Results
run: .github/scripts/printTestResult.sh
if: ${{ success() || failure() }}