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

Isabel Drost commented on MAHOUT-217:
-------------------------------------


The test files I found creating but not deleting data in the tmp directory:

./utils/src/test/java/org/apache/mahout/utils/vectors/io/VectorWriterTest.java
./utils/src/test/java/org/apache/mahout/utils/vectors/SequenceFileVectorIterableTest.java
./core/src/test/java/org/apache/mahout/classifier/bayes/BayesFileFormatterTest.java
./core/src/test/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModelTest.java



> Tidy up generated data after unit tests are run
> -----------------------------------------------
>
>                 Key: MAHOUT-217
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-217
>             Project: Mahout
>          Issue Type: Improvement
>    Affects Versions: 0.3
>            Reporter: Isabel Drost
>             Fix For: 0.3
>
>
> I tried to compile Mahout on people.apache.org yesterday: The build failed at 
> first, because tests could not generate test data. The reason: Some tests 
> tried to generate test data at /tmp/<mahout-dir>/... - but those directories 
> did exist already and belonged to Sean. Why? Probably because Sean had run 
> the build earlier this year - but tests did not remove the data they 
> generated.
> Proposed solution: Tests come with setup and with shutdown hooks. We should 
> remove any data when a test is finished and shut down.
> Any thoughts?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to