You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2023/05/13 11:03:30 UTC

[hbase] branch branch-2.4 updated: HBASE-27858 Update surefire version to 3.1.0 and use SurefireForkNodeFactory (#5234)

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

zhangduo pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new 3a68cddaab7 HBASE-27858 Update surefire version to 3.1.0 and use SurefireForkNodeFactory (#5234)
3a68cddaab7 is described below

commit 3a68cddaab7898ad16fe0e212d9a3f6b966346d7
Author: Jonathan Albrecht <jo...@ibm.com>
AuthorDate: Sat May 13 06:52:30 2023 -0400

    HBASE-27858 Update surefire version to 3.1.0 and use SurefireForkNodeFactory (#5234)
    
    Surefire version updated from 3.0.0-M6 -> 3.1.0.
    
    SurefireForkNodeFactory is a new strategy to control how the forked
    nodes communicate with the main maven process. It uses a tcp channel
    instead of pipes and fixes some corrupted messages seen in the s390x
    build.
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (cherry picked from commit 67612cc264dd44845e0797178e0b7678376b7cbe)
---
 pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 6ad3505e94c..c5ab8494a03 100755
--- a/pom.xml
+++ b/pom.xml
@@ -627,7 +627,7 @@
     <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
     <spotbugs.version>4.7.3</spotbugs.version>
     <spotbugs.maven.version>4.7.2.1</spotbugs.maven.version>
-    <surefire.version>3.0.0-M6</surefire.version>
+    <surefire.version>3.1.0</surefire.version>
     <wagon.ssh.version>2.12</wagon.ssh.version>
     <xml.maven.version>1.0.1</xml.maven.version>
     <spotless.version>2.27.2</spotless.version>
@@ -1494,6 +1494,7 @@
             <trimStackTrace>false</trimStackTrace>
             <skip>${surefire.skipFirstPart}</skip>
             <forkCount>${surefire.firstPartForkCount}</forkCount>
+            <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
             <reuseForks>false</reuseForks>
             <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
             <tempDir>${surefire.tempDir}</tempDir>
@@ -1540,6 +1541,7 @@
                 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
                 <reuseForks>false</reuseForks>
                 <forkCount>${surefire.secondPartForkCount}</forkCount>
+                <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
                 <groups>${surefire.secondPartGroups}</groups>
                 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
               </configuration>