maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (SUREFIRE-1202) Allow rerunFailingTestsCount, skipAfterFailureCount together
Date Wed, 02 Dec 2015 03:54:11 GMT


ASF GitHub Bot commented on SUREFIRE-1202:

GitHub user seanf opened a pull request:

    [SUREFIRE-1202] Allow rerunFailingTestsCount, skipAfterFailureCount t…


You can merge this pull request into a Git repository by running:

    $ git pull SUREFIRE-1202

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #108
commit 6d689fb9fade2618a9fc3ce8cfc996e771aca35c
Author: Sean Flanigan <>
Date:   2015-12-02T03:50:04Z

    [SUREFIRE-1202] Allow rerunFailingTestsCount, skipAfterFailureCount together


> Allow rerunFailingTestsCount, skipAfterFailureCount together
> ------------------------------------------------------------
>                 Key: SUREFIRE-1202
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Failsafe Plugin
>    Affects Versions: 2.19
>            Reporter: Sean Flanigan
> 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

View raw message