Skip to content

Commit 656b881

Browse files
authored
Add back in rerunFailingTests flag for unit tests (#1880)
We still have too many flaky tests that cause the build to fail almost every time with different failures so this is needed for now.
1 parent dc29cca commit 656b881

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
distribution: temurin
5555
cache: 'maven'
5656
- name: Build
57-
run: mvn -U -B -e clean install -DskipTests
57+
run: mvn -U -B -e clean install -DskipTests -Dsurefire.rerunFailingTestsCount=3
5858
- name: Verify
5959
run: mvn apache-rat:check
6060

.github/workflows/ci-quick.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
distribution: temurin
8585
cache: 'maven'
8686
- name: Test
87-
run: mvn -B -e -fae verify -Pactivemq.tests-quick
87+
run: mvn -B -e -fae verify -Pactivemq.tests-quick -Dsurefire.rerunFailingTestsCount=3
8888
- name: Upload Test Results
8989
if: always()
9090
uses: actions/upload-artifact@v7
@@ -98,4 +98,4 @@ jobs:
9898
large_files: true
9999
report_individual_runs: true
100100
report_suite_logs: error
101-
files: '**/target/surefire-reports/*.xml'
101+
files: '**/target/surefire-reports/*.xml'

.github/workflows/ci-weekly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
distribution: temurin
5353
cache: 'maven'
5454
- name: Build
55-
run: mvn -U -B -e clean install -DskipTests
55+
run: mvn -U -B -e clean install -DskipTests -Dsurefire.rerunFailingTestsCount=3
5656
- name: Verify
5757
run: mvn apache-rat:check
5858

@@ -91,4 +91,4 @@ jobs:
9191
large_files: true
9292
report_individual_runs: true
9393
report_suite_logs: error
94-
files: '**/target/surefire-reports/*.xml'
94+
files: '**/target/surefire-reports/*.xml'

0 commit comments

Comments
 (0)