make rerunFailingTestsCount a property so we can change it on cli if needed

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
olivier lamy 2019-11-18 07:20:42 +10:00
parent 905deeb49a
commit e69eea86c8
1 changed files with 2 additions and 1 deletions

View File

@ -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>
@ -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>