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

The "Timeout" and "error" state test result is treated as failed one (VS 2010).

    XMLWordPrintable

Details

    Description

      The "Timeout" and "error" state test result is treated as failed one (VS 2010).
      Error output that is stored in MSTEST unit test file is copied to the testcase\std-err node.

      Addendum: The data from \\RunInfos\RunInfo was added to the testcase\std-err node.

      Attachments

        Activity

          Please do not forget to report the fix to the xUnit plugin (xUnit plugin provides a xUnit tools aggregation and I strongly suggest to update mstest plugin to be an xUnit dependency).

          gbois Gregory Boissinot added a comment - Please do not forget to report the fix to the xUnit plugin (xUnit plugin provides a xUnit tools aggregation and I strongly suggest to update mstest plugin to be an xUnit dependency).

          Code changed in jenkins
          User: nilleb
          Path:
          src/main/resources/hudson/plugins/mstest/mstest-to-junit.xsl
          src/test/resources/hudson/plugins/mstest/kozl-unit-test-missing.xml
          src/test/resources/hudson/plugins/mstest/mstest_vs_2012_timeout.trx
          http://jenkins-ci.org/commit/mstest-plugin/7fafaae2aa041eebb90f15f30eeca07de222fd71
          Log:
          [FIXED JENKINS-11332] treat the 'timeout' outcome as a JUnit error

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: nilleb Path: src/main/resources/hudson/plugins/mstest/mstest-to-junit.xsl src/test/resources/hudson/plugins/mstest/kozl-unit-test-missing.xml src/test/resources/hudson/plugins/mstest/mstest_vs_2012_timeout.trx http://jenkins-ci.org/commit/mstest-plugin/7fafaae2aa041eebb90f15f30eeca07de222fd71 Log: [FIXED JENKINS-11332] treat the 'timeout' outcome as a JUnit error

          @gbois: feel free to report the fix to the xUnit plugin.
          you should explain more in detail the reasons for which mstest-plugin should be a xUnit dependency, and why you haven't done it before.

          nilleb Ivo Bellin Salarin added a comment - @gbois: feel free to report the fix to the xUnit plugin. you should explain more in detail the reasons for which mstest-plugin should be a xUnit dependency, and why you haven't done it before.

          if the proposed fix doesn't fullfill your expectations, please provide a trx containing an example. In such a case, please reopen the issue, I will fix it.

          nilleb Ivo Bellin Salarin added a comment - if the proposed fix doesn't fullfill your expectations, please provide a trx containing an example. In such a case, please reopen the issue, I will fix it.

          People

            nilleb Ivo Bellin Salarin
            klashar Ivan Chernov
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: