Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.3
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Integration Tests
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
The post-integration-test phase needs to always be called even in case of tests failures in the integration-test phase.
For example when using Cargo the container may be left running if the post-integration-test phase is not called...
This flies in the face of the current lifecycle design. The only way I see this is being feasible is if we do use the pre/post automated phase wrappers and make their semantics to behave in this way.
The alternative is to not fail from the integration-test goal, but set a property, then fail from the post- phase after everything is done. Sounds hacky though.