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

Tap Plugin not not calculating duration properly

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • tap-plugin
    • Jenkins ver. 2.33, Tap Plugin 2.0.1

      Hi am having an issue with the tap plugin. in my tap test I have "duration_ms: x" where x is in milliseconds. So looking at the attached picture you can see that the individual test duration is 4.8 sec. This is correct but the overall test time is showing as 1 hr 20 min.

      This PR was submitted to change duration_ms to be in ms not seconds but they never changed the overall test time https://github.com/jenkinsci/tap-plugin/pull/6

      Essentially all that needs to be changed is that the overall test time also needs to be divided by 1000

      I believe that this is the fix: https://github.com/jenkinsci/tap-plugin/pull/16

          [JENKINS-40033] Tap Plugin not not calculating duration properly

          Ralf Payer added a comment -

          Could you please fix this bug. The wrong duration is very annoying to me and the fix seems to be very easy: dividing by 1000 at the right location(s).

          Ralf Payer added a comment - Could you please fix this bug. The wrong duration is very annoying to me and the fix seems to be very easy: dividing by 1000 at the right location(s).

            kinow Bruno P. Kinoshita
            george_ibm George Adams
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: