Committed by
Gerrit Code Review
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
Showing
1 changed file
with
4 additions
and
5 deletions
| ... | @@ -485,13 +485,12 @@ | ... | @@ -485,13 +485,12 @@ |
| 485 | <plugin> | 485 | <plugin> |
| 486 | <groupId>org.apache.maven.plugins</groupId> | 486 | <groupId>org.apache.maven.plugins</groupId> |
| 487 | <artifactId>maven-surefire-plugin</artifactId> | 487 | <artifactId>maven-surefire-plugin</artifactId> |
| 488 | - <version>2.17</version> | 488 | + <version>2.18.1</version> |
| 489 | <configuration> | 489 | <configuration> |
| 490 | - <redirectTestOutputToFile>true | 490 | + <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 491 | - </redirectTestOutputToFile> | ||
| 492 | <printSummary>true</printSummary> | 491 | <printSummary>true</printSummary> |
| 493 | - <excludedGroups>org.onlab.junit.IntegrationTest | 492 | + <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups> |
| 494 | - </excludedGroups> | 493 | + <rerunFailingTestsCount>1</rerunFailingTestsCount> |
| 495 | </configuration> | 494 | </configuration> |
| 496 | </plugin> | 495 | </plugin> |
| 497 | 496 | ... | ... |
-
Please register or login to post a comment