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

Wrong JUnit test duration shown in package list

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • None
    • Platform: All, OS: All

      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/

          [JENKINS-1063] Wrong JUnit test duration shown in package list

          redsolo created issue -

          Fixed in 1.163.

          Kohsuke Kawaguchi added a comment - Fixed in 1.163.
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 131136 ] New: JNJira + In-Review [ 200408 ]

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

              Created:
              Updated:
              Resolved: