[ 
https://jira.codehaus.org/browse/SUREFIRE-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=289618#comment-289618
 ] 

Alexey Yudichev commented on SUREFIRE-799:
------------------------------------------

Yes, but forkMode=once will only parallelise tests within same JVM using 
multiple threads, which will not work for us as our tests are inherently not 
thread safe. We need "1 thread multiple JVMs" type of parallelisation with JVM 
reuse. I'll think of some workaround in this case.
                
> Allow test parallelisation when forkMode=always
> -----------------------------------------------
>
>                 Key: SUREFIRE-799
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-799
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: process forking
>    Affects Versions: 2.10
>         Environment: all
>            Reporter: nkeywal
>            Assignee: Kristian Rosenvold
>             Fix For: 2.12
>
>         Attachments: surefire_799_212_trunk.patch, surefire_799.v2.patch
>
>
> Surefire already allows:
> - forking
> - parallelization within a JVM
> Mixing both features would mean forking multiple JVM instead of only one.
> It would allow to parallelize tests that need to be executed in a separate 
> JVM (i.e.: with forkMode=always). Usually these tests take longer than the 
> simple ones. In our case, 40% of the tests are executed in 4 minutes, the 
> other 60% need two hours. So it's obviously more interesting to parallelize 
> the former, but these ones need to fork.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to