Skip to content

Commit 2b0e901

Browse files
Add configuration for rerunning failing integration tests
Why: - on CI we have many times problems with connection timeout - rerun failed tests can make less maintenance to manually rerun
1 parent 2f5bcb6 commit 2b0e901

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,7 @@ under the License.
969969
<!-- to be overridden -->
970970
<maven.site.path>../..</maven.site.path>
971971
<maven.site.path.suffix>LATEST</maven.site.path.suffix>
972+
<invoker.rerunFailingTestsCount>1</invoker.rerunFailingTestsCount>
972973
<invoker.streamLogsOnFailures>true</invoker.streamLogsOnFailures>
973974
<version.sisu-maven-plugin>1.0.0</version.sisu-maven-plugin>
974975
<version.plexus-utils>4.0.3</version.plexus-utils>
@@ -1177,6 +1178,7 @@ under the License.</licenseText>
11771178
<postBuildHookScript>verify</postBuildHookScript>
11781179
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
11791180
<settingsFile>src/it/settings.xml</settingsFile>
1181+
<rerunFailingTestsCount>${invoker.rerunFailingTestsCount}</rerunFailingTestsCount>
11801182
<streamLogsOnFailures>${invoker.streamLogsOnFailures}</streamLogsOnFailures>
11811183
<pomIncludes>
11821184
<pomInclude>*/pom.xml</pomInclude>

0 commit comments

Comments
 (0)