浏览代码

HADOOP-4277 : Change for TestLocalFileSystem.testAppend() is needed for 0.18 as well

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.18@700173 13f79535-47bb-0310-9956-ffa450edef68
Raghu Angadi 16 年之前
父节点
当前提交
50609a6c53
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/test/org/apache/hadoop/fs/TestLocalFileSystem.java

+ 6 - 1
src/test/org/apache/hadoop/fs/TestLocalFileSystem.java

@@ -154,7 +154,12 @@ public class TestLocalFileSystem extends TestCase {
     cleanupFile(fs, path);
   }
 
-  public void testAppend() throws IOException {
+  /* Renaming this in order to temporarily disable the test
+   * until is append() is fixed for LocalFileSystem. See 
+   * HADOOP-4292.  
+   */
+  public void disabledTestAppend() throws IOException {
+    
     Configuration conf = new Configuration();
     final String dir = TEST_ROOT_DIR + "/append";
     LocalFileSystem fs = FileSystem.getLocal(conf);