olamy commented on a change in pull request #478: URL: https://github.com/apache/maven-surefire/pull/478#discussion_r823296651
########## File path: maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireHelper.java ########## @@ -154,7 +155,11 @@ public static void reportExecution( SurefireReportParameters reportParameters, R return; } - if ( reportParameters.isTestFailureIgnore() ) + if ( firstForkException instanceof SurefireBooterForkException ) + { + throwException( reportParameters, result, firstForkException ); Review comment: sample here https://github.com/olamy/maven-exception-plugin so there is no difference between `throw MojoExecutionException` and `throw MojoFailureException` we can definitely simplify the code managing this but should be part of another PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org