This is an automated email from the ASF dual-hosted git repository.
cshannon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new 1b9bd133f NO-JIRA - Set tests to rerun failing tests 2 times
new 05ffe8aca Merge pull request #954 from cshannon/rerun-tests
1b9bd133f is described below
commit 1b9bd133fd2fe87a4779b7483a339a4fe6dd8c9f
Author: Christopher L. Shannon (cshannon) <[email protected]>
AuthorDate: Tue Jan 10 15:33:59 2023 -0500
NO-JIRA - Set tests to rerun failing tests 2 times
This should help reduce failures from flaky tests and make the build
more reliable
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 67d1cd0b6..9183c4304 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -99,7 +99,7 @@ pipeline {
echo 'Running tests'
// all tests is very very long (10 hours on Apache Jenkins)
// sh 'mvn -B -e test -pl activemq-unit-tests
-Dactivemq.tests=all'
- sh 'mvn -B -e -fae test'
+ sh 'mvn -B -e -fae test -Dsurefire.rerunFailingTestsCount=2'
}
post {
always {