You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arman Sharif (Jira)" <ji...@apache.org> on 2023/10/02 21:51:00 UTC
[jira] [Created] (SUREFIRE-2197) skipAfterFailureCount not honoured with multiple executions
Arman Sharif created SUREFIRE-2197:
--------------------------------------
Summary: skipAfterFailureCount not honoured with multiple executions
Key: SUREFIRE-2197
URL: https://issues.apache.org/jira/browse/SUREFIRE-2197
Project: Maven Surefire
Issue Type: Bug
Components: Maven Failsafe Plugin
Affects Versions: 3.1.2
Reporter: Arman Sharif
I have a pom with 2 executions of the failsafe plugin which is configured as described here:
[https://maven.apache.org/surefire/maven-failsafe-plugin/usage.html#running-integration-tests-multiple-times]
I would like the build to fail and _not_ run the second {{<execution>}} if the first one has a test failure. It seems the plugin does not honour the {{skipAfterFailureCount}} in this case.
*Expected behaviour:*
Build fails after the first test failure
*Actual:*
Build continues to execute
*Minimal sample project:*
[https://github.com/armandino/maven-failsafe-plugin-bug-report]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)