Skip to content

Commit

Permalink
Merge pull request #453 from jtnord/BEE-358
Browse files Browse the repository at this point in the history
Do not reuse surefire (failsafe) forks for test stability
  • Loading branch information
jtnord authored Nov 8, 2021
2 parents 388cbcf + bc28ac6 commit 4b264a4
Showing 1 changed file with 13 additions and 21 deletions.
34 changes: 13 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<releaseProfiles> </releaseProfiles>
<arguments> </arguments>
<argLine>-Xms768M -Xmx768M -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1</argLine>
<argLine>-Xms768M -Xmx768M -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1</argLine>

<jenkins.version>2.204</jenkins.version>
<jenkins-bom.version>${jenkins.version}</jenkins-bom.version>
Expand Down Expand Up @@ -731,35 +731,27 @@
<configuration>
<!-- SUREFIRE-1226 workaround -->
<trimStackTrace>false</trimStackTrace>
<systemProperties>
<property>
<name>hudson.udp</name>
<value>-1</value>
</property>
<property>
<name>java.io.tmpdir</name>
<value>${surefireTempDir}</value>
</property>
</systemProperties>
<systemPropertyVariables>
<hudson.udp>-1</hudson.udp>
<java.io.tmpdir>${surefireTempDir}</java.io.tmpdir>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
<runOrder>alphabetical</runOrder>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<!-- SUREFIRE-1226 workaround -->
<trimStackTrace>false</trimStackTrace>
<systemProperties>
<property>
<name>hudson.udp</name>
<value>-1</value>
</property>
<property>
<name>java.io.tmpdir</name>
<value>${surefireTempDir}</value>
</property>
</systemProperties>
<systemPropertyVariables>
<hudson.udp>-1</hudson.udp>
<java.io.tmpdir>${surefireTempDir}</java.io.tmpdir>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
<runOrder>alphabetical</runOrder>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 4b264a4

Please sign in to comment.