You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/05/10 23:18:00 UTC

[jira] [Closed] (SUREFIRE-1037) Elapsed time is reported incorrectly for tests run in parallel

     [ https://issues.apache.org/jira/browse/SUREFIRE-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana closed SUREFIRE-1037.
----------------------------------
    Resolution: Fixed
      Assignee: Tibor Digana

commit	c14b25fe501193ce5779ff7d5da2590164ca7b8e

> Elapsed time is reported incorrectly for tests run in parallel
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-1037
>                 URL: https://issues.apache.org/jira/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
>            Assignee: Tibor Digana
>             Fix For: 2.19
>
>
> 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.3.4#6332)