You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2013/12/01 17:57:35 UTC

[jira] [Commented] (MAHOUT-1356) Ensure unit tests fail fast when writing outside mvn target directory

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

Dawid Weiss commented on MAHOUT-1356:
-------------------------------------

Suneel you may want to check out how Apache Lucene/ Solr runs randomized tests in multiple concurrent JVMs -- the "allowed" writing space is configured (and enforced) using a security manager. There is some trickery involved because the runner itself must be allowed to write to certain locations, but it's definitely a good source to copy/ paste from.

> Ensure unit tests fail fast when writing outside mvn target directory
> ---------------------------------------------------------------------
>
>                 Key: MAHOUT-1356
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1356
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.7, 0.8
>            Reporter: Isabel Drost-Fromm
>             Fix For: 1.0
>
>         Attachments: MAHOUT-1356.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)