maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1202) Allow rerunFailingTestsCount, skipAfterFailureCount together
Date Sat, 26 Dec 2015 01:28:49 GMT

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

ASF GitHub Bot commented on SUREFIRE-1202:
------------------------------------------

Github user Tibor17 commented on the pull request:

    https://github.com/apache/maven-surefire/pull/108#issuecomment-167269576
  
    @seanf done!
    You can check it out with 2.20-SNAPSHOT.
    I will start the Release Vote on Sunday/Monday.
    2.19.1 will be in Maven Central on Wednesday.


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

Mime
View raw message