Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
If you have a background with multiple steps - and a step fails that is not the last step the at the top level overview in the job page the failure is not represented correctly - even thogh at a feature level the test is appropriately marked.
Code changed in jenkins
User: James Nord
Path:
src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/BackgroundResult.java
src/test/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParserTest.java
src/test/resources/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioResultTest/backgroundFailure.json
http://jenkins-ci.org/commit/cucumber-testresult-plugin/64dfc376835f8bf0fe2ec0bfd7ebe6a9f2df95ac
Log:
[FIXED JENKINS-25021] If the background failed then the test may not be correctly marked as failed in some cicumstances.
Don't reset the failed state flag for skipped tests.