[ http://issues.apache.org/jira/browse/HADOOP-761?page=comments#action_12454549 ] eric baldeschwieler commented on HADOOP-761: --------------------------------------------
We should start a unit test authors document and add this to it! > Unit tests should cleanup created files in /tmp. It causes tests to fail if > more than one users run tests on same machine. > -------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-761 > URL: http://issues.apache.org/jira/browse/HADOOP-761 > Project: Hadoop > Issue Type: Bug > Components: test > Reporter: Sanjay Dahiya > Priority: Minor > > TestMiniMRLocalFS test cases creates /tmp/wc/input/, which is not cleaned > up, any other user running test on same machine simultaneously or later will > see test failures. > It should either use a temp directory in the build/test or use java's > File.createTempFile method for temporary data and then clean it up. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira