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

Dawid Weiss commented on MAHOUT-916:
------------------------------------

I'm not advocating for making the build any more complex but the runner from 
randomizedtesting (used in Lucene) separates the current working directory for 
every forked JVM so that their data don't clash with each other. Uwe also came 
up with a nice idea of placing a security manager on top and restricting that 
any writes can *only* happen under that forked directory, not anywhere else.

The upside of this is that you immediately know if something attempts to write 
where it's not supposed to. The downside is that the build gets a bit more 
complex (it's not surefire, it's a different runner). Surefire folks are pretty 
open to ideas though -- perhaps they could add an isolation like that to 
Surefire.
                
> Make Mahout's tests run in parallel
> -----------------------------------
>
>                 Key: MAHOUT-916
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-916
>             Project: Mahout
>          Issue Type: Improvement
>          Components: build
>            Reporter: Grant Ingersoll
>            Assignee: Isabel Drost
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>         Attachments: MAHOUT-916.patch, MAHOUT-916.patch
>
>
> Maven now supports parallel execution of tests.  We should hook this in to 
> Mahout.

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

Reply via email to