From 20c4d8efab425fe3893ef9a5bec85d4a3b64d5a6 Mon Sep 17 00:00:00 2001 From: Xiao Chen Date: Thu, 3 Nov 2016 11:15:26 -0700 Subject: [PATCH] HADOOP-13787. Azure testGlobStatusThrowsExceptionForUnreadableDir fails. Contributed by John Zhuge. --- .../azure/TestNativeAzureFileSystemOperationsMocked.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestNativeAzureFileSystemOperationsMocked.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestNativeAzureFileSystemOperationsMocked.java index 69c942d3778..89ed381aee5 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestNativeAzureFileSystemOperationsMocked.java +++ b/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;