Enable retrying tests for Surefire#37612
Conversation
|
My understanding @gsmet is that failsafe has the same capabilities to rerun failed tests and fail the goal if a flaky test is identified Besides that, yes the surefire setup looks good 👍 |
This comment has been minimized.
This comment has been minimized.
|
@jprinet I had a look specifically here the other day: https://maven.apache.org/surefire/maven-failsafe-plugin/integration-test-mojo.html and Also, just figured out that the report would be a lot less useful as it doesn't mention the test so I will need to figure this out before merging. |
e8e75bb to
05bc291
Compare
This comment has been minimized.
This comment has been minimized.
05bc291 to
c22a04f
Compare
|
✔️ The latest workflow run for the pull request has completed successfully. It should be safe to merge provided you have a look at the other checks in the summary. |
|
I created apache/maven-surefire#700 in the hopes that it could be merged relatively soon. |
|
Addressed in another PR. |
Unfortunately, it doesn't seem that Failsafe can fail when there is a flaky test so for now only doing it for Surefire.
We will be able to generalize to Failsafe once we have the infrastructure to include the flaky tests in the reporting.
@jprinet it's what you had in mind, right?