[ 
https://issues.apache.org/jira/browse/SUREFIRE-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071788#comment-15071788
 ] 

Hudson commented on SUREFIRE-1202:
----------------------------------

UNSTABLE: Integrated in maven-surefire #1538 (See 
[https://builds.apache.org/job/maven-surefire/1538/])
[SUREFIRE-1202] Allow rerunFailingTestsCount, skipAfterFailureCount (tibor17: 
rev 7f64ddbf208e47656fea57423822387bd9c13451)
* 
surefire-integration-tests/src/test/resources/surefire-1202-rerun-and-failfast/src/test/java/pkg/ATest.java
* 
surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1202RerunAndSkipIT.java
* 
surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreProvider.java
* 
surefire-providers/common-junit4/src/main/java/org/apache/maven/surefire/common/junit4/Notifier.java
* 
maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
* 
surefire-providers/surefire-junit47/src/test/java/org/apache/maven/surefire/junitcore/Surefire746Test.java
* 
surefire-integration-tests/src/test/resources/surefire-1202-rerun-and-failfast/pom.xml
* 
surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreWrapper.java
* 
surefire-integration-tests/src/test/resources/surefire-1202-rerun-and-failfast/src/test/java/pkg/ETest.java
* 
surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4Provider.java
* maven-surefire-plugin/src/site/apt/examples/rerun-failing-tests.apt.vm
* maven-surefire-plugin/src/site/apt/examples/skip-after-failure.apt.vm
* 
surefire-integration-tests/src/test/resources/surefire-1202-rerun-and-failfast/src/test/java/pkg/BTest.java
* 
surefire-integration-tests/src/test/resources/surefire-1202-rerun-and-failfast/src/test/java/pkg/DTest.java
* 
surefire-integration-tests/src/test/resources/surefire-1202-rerun-and-failfast/src/test/java/pkg/CTest.java


> Allow rerunFailingTestsCount, skipAfterFailureCount together
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-1202
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1202
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Failsafe Plugin
>    Affects Versions: 2.19
>            Reporter: Sean Flanigan
>            Assignee: Tibor Digana
>             Fix For: 2.19.1
>
>
> I couldn't find this limitation documented anywhere, but if I try to use the 
> options {{rerunFailingTestsCount}} and {{skipAfterFailureCount}} together, I 
> get this error message:
> {noformat}
> org.apache.maven.plugin.MojoFailureException: 
> Parameters ["rerunFailingTestsCount", "skipAfterFailureCount"] 
> should not be enabled together
> {noformat}
> I have a use case which requires both options: some integration tests are 
> flaky, so I want to use {{rerunFailingTestsCount}} to repeat them, but if all 
> tests are failing (eg due to a configuration problem or a really bad change), 
> I don't want to wait for the entire test suite to fail multiple times, so I 
> would like to abort if say 10 tests have failed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to