浏览代码

HADOOP-13787. Azure testGlobStatusThrowsExceptionForUnreadableDir fails. Contributed by John Zhuge.

Xiao Chen 8 年之前
父节点
当前提交
20c4d8efab

+ 9 - 0
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestNativeAzureFileSystemOperationsMocked.java

@@ -51,6 +51,15 @@ public class TestNativeAzureFileSystemOperationsMocked extends
     assumeNotWindows();
   }
 
+  @Override
+  public void testGlobStatusThrowsExceptionForUnreadableDir()
+      throws Exception {
+    System.out.println(
+        "Skipping testGlobStatusThrowsExceptionForUnreadableDir since WASB"
+            + " doesn't honor directory permissions.");
+    assumeNotWindows();
+  }
+
   @Override
   public String getTestRootDir() {
     return TEST_ROOT_DIR;