[
https://issues.apache.org/jira/browse/FALCON-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885413#comment-13885413
]
Jean-Baptiste Onofré commented on FALCON-271:
---------------------------------------------
Agree, but it's what we use currently. In the Falcon main pom, we have:
{code}
<forkMode>always</forkMode>
{code}
which is exactly the equivalent of (as you can see on
http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html):
{code}
Old Setting New Setting
forkMode=once (default) forkCount=1 (default), reuseForks=true (default)
forkMode=always forkCount=1 (default), reuseForks=false
forkMode=never forkCount=0
forkMode=perthread, threadCount=N forkCount=N, (reuseForks=false, if you
did not had that one set)
{code}
That's why I use this settings (to avoid two changes in the same patch).
If we are all agree, I would change to threadCount=2 and forkCount=2 to speed
up the tests.
> Upgrade to maven-surefire-plugin 2.16
> -------------------------------------
>
> Key: FALCON-271
> URL: https://issues.apache.org/jira/browse/FALCON-271
> Project: Falcon
> Issue Type: Improvement
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Attachments: FALCON-271.patch
>
>
> In order to speed up a bit the unit test, the upgrade to
> maven-surefire-plugin 2.16 helps (around the fork management).
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)