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

Wrong JUnit test duration shown in package list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: junit-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      The junit test report that lists all classes in a package shows duration 0secs
      on all classes even if they took more than 0 seconds to complete.

      This error can be seen in the clear case test pages. The test
      hudson.plugins.clearcase.ClearCaseSCMTest.testBuildEnvVars() takes always at
      least 2 seconds, which can be seen here:
      http://hudson.ramfelt.se/job/Hudson/org.jvnet.hudson.plugins$clearcase/186/testReport/hudson.plugins.clearcase/ClearCaseSCMTest/

      But the package list for hudson.plugins.clearcase shows 0 for the duration for
      the ClearCaseSCMTest class, which can be seen here:
      http://hudson.ramfelt.se/job/Hudson/org.jvnet.hudson.plugins$clearcase/186/testReport/hudson.plugins.clearcase/

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed in 1.163.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed in 1.163.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            redsolo redsolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: