falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (FALCON-271) Upgrade to maven-surefire-plugin 2.16
Date Wed, 29 Jan 2014 15:10:10 GMT

    [ 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:


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):

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)

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

View raw message