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

cshannon pushed a commit to branch activemq-5.17.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-5.17.x by this push:
     new 164568aab NO-JIRA - Set tests to rerun failing tests 2 times
164568aab is described below

commit 164568aab45d44c1ea33aaa4cb9a79f769f0d386
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
    
    (cherry picked from commit 1b9bd133fd2fe87a4779b7483a339a4fe6dd8c9f)
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 3f7f1fba9..c0b33212b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -75,7 +75,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 {

Reply via email to