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

Wrong JUnit test duration shown in package list

XMLWordPrintable

    • 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/

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

              Created:
              Updated:
              Resolved: