Trying out JUnit runner's rerunFailingTestsCount option
- May reduce Jenkins failure report due to timing sensitive test cases.
See: http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#rerunFailingTestsCount
Change-Id: I294c9e141247127f0a6920fdc5028a0efc4934fc
diff --git a/pom.xml b/pom.xml
index 5374cd7..3feb61a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -485,13 +485,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.17</version>
+ <version>2.18.1</version>
<configuration>
- <redirectTestOutputToFile>true
- </redirectTestOutputToFile>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
<printSummary>true</printSummary>
- <excludedGroups>org.onlab.junit.IntegrationTest
- </excludedGroups>
+ <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
+ <rerunFailingTestsCount>1</rerunFailingTestsCount>
</configuration>
</plugin>