You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Grant (JIRA)" <ji...@codehaus.org> on 2013/10/03 12:04:52 UTC
[jira] (SUREFIRE-1037) Elapsed time is reported incorrectly for
tests run in parallel
David Grant created SUREFIRE-1037:
-------------------------------------
Summary: 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.16, 2.15
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira