HADOOP-8720. TestLocalFileSystem should use test root subdirectory. Contributed by Vlad Rozov

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1376124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-08-22 16:22:55 +00:00
parent 095553e7a6
commit 1a6cb06197
2 changed files with 5 additions and 2 deletions

View File

@ -210,6 +210,9 @@ Release 2.0.1-alpha - UNRELEASED
HADOOP-8614. IOUtils#skipFully hangs forever on EOF.
(Colin Patrick McCabe via eli)
HADOOP-8720. TestLocalFileSystem should use test root subdirectory.
(Vlad Rozov via eli)
BREAKDOWN OF HDFS-3042 SUBTASKS
HADOOP-8220. ZKFailoverController doesn't handle failure to become active

View File

@ -33,8 +33,8 @@
* This class tests the local file system via the FileSystem abstraction.
*/
public class TestLocalFileSystem {
private static String TEST_ROOT_DIR
= System.getProperty("test.build.data","build/test/data/work-dir/localfs");
private static final String TEST_ROOT_DIR
= System.getProperty("test.build.data","build/test/data") + "/work-dir/localfs";
private Configuration conf;
private FileSystem fileSys;