Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.7
-
None
Description
Upgrading maven-failsafe-plugin from version 2.6 to 2.7 causes builds with integration test errors to be reported as successful.
From my understanding, the failsafe verify goal uses the summary file (default: target\failsafe-reports\failsafe-summary.xml) to check whether executed integration tests passed or had any errors. I've pasted the content of this file below as it is generated by the failsafe plugin version 2.6 and 2.7 respectively for the same build with the same integration test errors. It appears that the integration-test goal does not generate this file correctly in version 2.7.
<?xml version="1.0" encoding="UTF-8"?> <failsafe-summary result="255" />
<?xml version="1.0" encoding="UTF-8"?> <failsafe-summary />
The result for this build is that the failsafe plugin version 2.6 fails the build (as it should) while failsafe plugin version 2.7 does not and the build is reported as successful.
Attachments
Issue Links
- is related to
-
SUREFIRE-674 Build does not fail when tests have errors
- Closed