apache / apache/maven-surefire
[SUREFIRE-1699] Skip Rerun when failures are due to Assertion Error
- Dominant language
- Java
- Stars
- 461
- Forks
- 588
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 19
Description
**[Nathaniel](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jnernest)** opened **[SUREFIRE-1699](https://issues.apache.org/jira/browse/SUREFIRE-1699?redirect=false)** and commented
Hi,
we are running scripts in parallel in many places.
* consider I have given rerunscriptcount as 5
* Surefire starts the scenarios and it fails due to Assertion error
* Then The script is being re run for additional 4 times which is not require
Expected : To have a tag which we can use to exclude certain errors
---
**Affects:** 3.0.0-M3
Contributor guide
Research direction
Start by tracing Surefire's rerun handling for the configured rerunscriptcount and how AssertionError failures are classified. Done means providing a way to exclude AssertionError failures from additional reruns; the issue names no source files or tests, so those entry points must be located first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100