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

Wrong JUnit test duration shown in classes list

    Details

    • Similar Issues:
    • Released As:
      junit 1.27

      Description

      Hi,

      The Junit test result showing all the class time duration as 1 sec while the class can take less or more then 1 sec in total.
      The example job is Android tests job (using Gradle).

      Package time and individual test time duration result are good.

      Thanks,
      Nitzan

        Attachments

        1. Class.png
          Class.png
          56 kB
        2. Package.png
          Package.png
          33 kB
        3. Tests.png
          Tests.png
          55 kB

          Issue Links

            Activity

            Hide
            mfuchs Matthias Fuchs added a comment -

            I had the same issue and created a PR to fix it: https://github.com/jenkinsci/junit-plugin/pull/66

            Show
            mfuchs Matthias Fuchs added a comment - I had the same issue and created a PR to fix it: https://github.com/jenkinsci/junit-plugin/pull/66
            Hide
            nyemal Nitzan Yemal added a comment -

            Hi Matthias,

            So I need to wait for the next plugin release to solve this?

             

            Show
            nyemal Nitzan Yemal added a comment - Hi Matthias, So I need to wait for the next plugin release to solve this?  
            Hide
            mfuchs Matthias Fuchs added a comment -

            I can't tell. The junit plugin maintainer has no time to do code-reviews.
            I also tried multiple times on IRC, but no review yet.

            What you can do in any case is to compile the plugin yourself with the patch applied and install it manually.
            IIRC it is either mvn install or mvn package that create the hpi file.
            This is also what I did since I can't wait for an offical release.

            Show
            mfuchs Matthias Fuchs added a comment - I can't tell. The junit plugin maintainer has no time to do code-reviews. I also tried multiple times on IRC, but no review yet. What you can do in any case is to compile the plugin yourself with the patch applied and install it manually. IIRC it is either mvn install or mvn package that create the hpi file. This is also what I did since I can't wait for an offical release.
            Hide
            dnusbaum Devin Nusbaum added a comment -

            Looks like a fix for this was released in version 1.27 of the plugin.

            Show
            dnusbaum Devin Nusbaum added a comment - Looks like a fix for this was released in version 1.27 of the plugin.

              People

              • Assignee:
                Unassigned
                Reporter:
                nyemal Nitzan Yemal
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: