You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Isabel Drost-Fromm (JIRA)" <ji...@apache.org> on 2013/11/13 22:47:20 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=13821886#comment-13821886 ]
Isabel Drost-Fromm commented on MAHOUT-1356:
--------------------------------------------
Currently all unit tests seem fine when run in parallel mode - no more directory or naming clashes. In order to stop random test failures in the future I would like to see tests fail fast in case they write to some system-global directory - even if that is called /tmp.
One thing to look into in the long run: Configure our surefire to complain when tests mis-behave and store data outside of maven's target directories. Some related documentation and examples so I don't forget it when closing the browser window:
https://svn.apache.org/repos/asf/commons/proper/lang/trunk/src/test/resources/java.policy
http://maven.apache.org/surefire/maven-surefire-plugin/examples/junit.html
First (still failing) try attached soon.
> 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: Bug
> Reporter: Isabel Drost-Fromm
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)