Skip to content

Commit

Permalink
make rerunFailingTestsCount a property so we can change it on cli if …
Browse files Browse the repository at this point in the history
…needed

Signed-off-by: olivier lamy <[email protected]>
  • Loading branch information
olamy committed Nov 17, 2019
1 parent 905deeb commit e69eea8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
<javax.annotation-api>1.3</javax.annotation-api>
<localRepoPath>${project.build.directory}/local-repo</localRepoPath>
<settingsPath>src/it/settings.xml</settingsPath>
<surefire.rerunFailingTestsCount>3</surefire.rerunFailingTestsCount>
</properties>

<licenses>
Expand Down Expand Up @@ -643,7 +644,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<rerunFailingTestsCount>3</rerunFailingTestsCount>
<rerunFailingTestsCount>${surefire.rerunFailingTestsCount}</rerunFailingTestsCount>
<forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
<argLine>@{argLine} -Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US -showversion -Xmx1g -Xms1g -XX:+PrintGCDetails</argLine>
<failIfNoTests>false</failIfNoTests>
Expand Down

0 comments on commit e69eea8

Please sign in to comment.