Incorrect calculation of total tests duration

The total duration of jenkins job is 10 minutes, but in gradle test reports I can see the value equals ~ 1 hour,
Can anyone suggest what the problem is, the duration of the tests execution cannot be higher than the duration of the whole job
I Use testNg in parallel execution (parallel methods mode in testng.xml)

If tests are executed in parallel, the test execution in sum can take longer than the build itself. But having a 10 minutes build reporting ~1h of test execution seems a lot though. can you provide more statistics about your build? (how many tests, how many parallel tests etc?) or even better a reproducable example of this behaviour?

cheers,
René

1 Like