Skip to content

Commit 67612cc

Browse files
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 <[email protected]>
1 parent bee09bb commit 67612cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@
880880
<findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
881881
<spotbugs.version>4.7.3</spotbugs.version>
882882
<spotbugs.maven.version>4.7.2.1</spotbugs.maven.version>
883-
<surefire.version>3.0.0-M6</surefire.version>
883+
<surefire.version>3.1.0</surefire.version>
884884
<wagon.ssh.version>2.12</wagon.ssh.version>
885885
<xml.maven.version>1.0.1</xml.maven.version>
886886
<spotless.version>2.27.2</spotless.version>
@@ -1836,6 +1836,7 @@
18361836
<trimStackTrace>false</trimStackTrace>
18371837
<skip>${surefire.skipFirstPart}</skip>
18381838
<forkCount>${surefire.firstPartForkCount}</forkCount>
1839+
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
18391840
<!--
18401841
The counter in HBaseTestAppender will be broken if we set reuseForks to true, be
18411842
careful when you want to change this value. See HBASE-26947 for more details.
@@ -1890,6 +1891,7 @@
18901891
-->
18911892
<reuseForks>false</reuseForks>
18921893
<forkCount>${surefire.secondPartForkCount}</forkCount>
1894+
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
18931895
<groups>${surefire.secondPartGroups}</groups>
18941896
<forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
18951897
</configuration>

0 commit comments

Comments
 (0)