Browse Source

HADOOP-4078. Create test files for TestKosmosFileSystem in separate directory under test.build.data. (lohit)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@692597 13f79535-47bb-0310-9956-ffa450edef68
Lohit Vijaya Renu 17 years ago
parent
commit
9e6414971d
2 changed files with 5 additions and 2 deletions
  1. 3 0
      CHANGES.txt
  2. 2 2
      src/test/org/apache/hadoop/fs/kfs/TestKosmosFileSystem.java

+ 3 - 0
CHANGES.txt

@@ -468,6 +468,9 @@ Trunk (unreleased changes)
 
     HADOOP-4069. Keep temporary test files from TestKosmosFileSystem under
     test.build.data instead of /tmp. (lohit via omalley)
+ 
+    HADOOP-4078. Create test files for TestKosmosFileSystem in separate
+    directory under test.build.data. (lohit)
 
 Release 0.18.1 - Unreleased
 

+ 2 - 2
src/test/org/apache/hadoop/fs/kfs/TestKosmosFileSystem.java

@@ -48,8 +48,8 @@ public class TestKosmosFileSystem extends TestCase {
         kosmosFileSystem = new KosmosFileSystem(kfsEmul);
         // a dummy URI; we are not connecting to any setup here
         kosmosFileSystem.initialize(URI.create("kfs:///"), conf);
-        baseDir = new Path(System.getProperty("test.build.data",
-                                               "/tmp/kfs-test"));
+        baseDir = new Path(System.getProperty("test.build.data", "/tmp" ) +
+                                              "/kfs-test");
     }
 
     @Override