You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2023/01/30 22:39:18 UTC

[cxf] 02/03: CXF-8393: Umbrella issue to address fixing flaky tests (#1084)

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

reta pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 2ef45351dcf22d375d7f526064e7f53fb55dc49a
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Mon Jan 30 12:42:15 2023 -0500

    CXF-8393: Umbrella issue to address fixing flaky tests (#1084)
    
    (cherry picked from commit b7131a3588afe7514a920eeabc0652704ed52490)
---
 parent/pom.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index 47b9db70f0..6c7839254b 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -38,6 +38,7 @@
         <cxf.surefire.fork.vmargs>-ea</cxf.surefire.fork.vmargs>
         <cxf.server.launcher.vmargs>-ea</cxf.server.launcher.vmargs>
         <cxf.surefire.enable.assertions>true</cxf.surefire.enable.assertions>
+        <cxf.surefire.rerun.count>3</cxf.surefire.rerun.count>
         <cxf.checkstyle.extension />
         <cxf.compile.flags>-Xlint:unchecked,deprecation,fallthrough,finally</cxf.compile.flags>
         <cxf.compile.show.deprecation>true</cxf.compile.show.deprecation>
@@ -486,6 +487,7 @@
                         <enableAssertions>${cxf.surefire.enable.assertions}</enableAssertions>
                         <parallel>${cxf.surefire.parallel.mode}</parallel>
                         <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" />
+                        <rerunFailingTestsCount>${cxf.surefire.rerun.count}</rerunFailingTestsCount>
                         <systemPropertyVariables>
                             <java.io.tmpdir>${basedir}/target</java.io.tmpdir>
                             <cxf.useRandomFirstPort>true</cxf.useRandomFirstPort>