[
https://jira.codehaus.org/browse/SUREFIRE-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352055#comment-352055
]
Tibor Digana commented on SUREFIRE-1037:
----------------------------------------
+1
I would also like to have a real time spent by class in the report.
For me the sum of time-overlapping methods is not valuable because i don't know
how long the test was really running.
As far as I remember we sum the partial method exec time.
> Elapsed time is reported incorrectly for tests run in parallel
> --------------------------------------------------------------
>
> Key: SUREFIRE-1037
> URL: https://jira.codehaus.org/browse/SUREFIRE-1037
> Project: Maven Surefire
> Issue Type: Bug
> Components: Junit 4.7+ (parallel) support
> Affects Versions: 2.15, 2.16
> Environment: Intel Core i7-3770
> Reporter: David Grant
>
> Configuration:
> <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.16</version>
> <configuration>
> <parallel>methods</parallel>
> <threadCount>2</threadCount>
> </configuration>
> </plugin>
> I am running a suite of JUnit tests in parallel with the above configuration.
> The "Time elapsed" reported after a test class is incorrect by a factor of
> the number of threads in use.
> In my case, I am running tests on an eight core machine (see Environment),
> with two threads-per-core. The actual elapsed time is about 47s, but the
> reported elapsed time is 741s.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)