Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25021

if the background step that fails is not the last background step then the scenario is marked as skipped not failed.

    Details

    • Similar Issues:

      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.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          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.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - 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.

            People

            • Assignee:
              teilo James Nord
              Reporter:
              teilo James Nord
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: