Skip to content

Commit

Permalink
Merge pull request #5605 from jstourac/surefireTcpIp
Browse files Browse the repository at this point in the history
[WFCORE-6454] Use TCP/IP process communication for surefire plugin
  • Loading branch information
bstansberry authored Aug 16, 2023
2 parents 248ae96 + 771d02d commit 50c026e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@
</surefire.system.args>
<test.level>INFO</test.level>

<!-- This overrides default surefire plugin version specified in parent pom - reason is to enable TCP/IP communication,
see https://maven.apache.org/surefire/maven-surefire-plugin/examples/process-communication.html -->
<version.surefire.plugin>3.1.2</version.surefire.plugin>

<!-- Non-default maven plugin versions and configuration -->
<version.jacoco.plugin>0.8.10</version.jacoco.plugin>
<version.org.jboss.galleon>5.0.9.Final</version.org.jboss.galleon>
Expand Down Expand Up @@ -356,6 +360,7 @@
</dependency>
</dependencies>
<configuration>
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<enableAssertions>true</enableAssertions>
<systemPropertyVariables>
Expand Down
1 change: 1 addition & 0 deletions testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<failIfNoTests>false</failIfNoTests>
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
<redirectTestOutputToFile>${testLogToFile}</redirectTestOutputToFile>
<argLine>-Djava.util.logging.manager=org.jboss.logmanager.LogManager</argLine>
<systemPropertyVariables>
Expand Down

0 comments on commit 50c026e

Please sign in to comment.