You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/01/29 16:10:10 UTC

[jira] [Comment Edited] (FALCON-271) Upgrade to maven-surefire-plugin 2.16

    [ https://issues.apache.org/jira/browse/FALCON-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885413#comment-13885413 ] 

Jean-Baptiste Onofré edited comment on FALCON-271 at 1/29/14 3:09 PM:
----------------------------------------------------------------------

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}

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.


was (Author: jbonofre):
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)