• junit 1.27

      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

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

          [JENKINS-42438] Wrong JUnit test duration shown in classes list

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

          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

          Nitzan Yemal added a comment -

          Hi Matthias,

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

           

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

          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.

          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.

          Devin Nusbaum added a comment -

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

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

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

              Created:
              Updated:
              Resolved: