ThomasMarquardt commented on a change in pull request #1842: HADOOP-16730 : 
ABFS: Add Authorizer Interface
URL: https://github.com/apache/hadoop/pull/1842#discussion_r384738532
 
 

 ##########
 File path: 
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemAuthorization.java
 ##########
 @@ -65,6 +66,21 @@ public void setup() throws Exception {
     super.setup();
   }
 
+  @Test
+  public void testSASTokenProviderInitializeException() throws Exception {
+    final AzureBlobFileSystem fs = this.getFileSystem();
+
+    final AzureBlobFileSystem testFs = new AzureBlobFileSystem();
+
+    MockSASTokenProvider.setThrowExceptionAtInit(true);
 
 Review comment:
   I am seeing failures when running the tests
   
     **mvn -T 1C -Dparallel-tests=abfs -Dscale -DtestsThreadCount=8 clean 
verify**
   
   [ERROR] Errors:
   [ERROR]   ITestAbfsIdentityTransformer.<init>:66 » NullPointer
   [ERROR]   ITestAbfsIdentityTransformer.<init>:66 » NullPointer
   [ERROR]   ITestAbfsIdentityTransformer.<init>:66 » NullPointer
   [ERROR]   ITestAbfsIdentityTransformer.<init>:66 » NullPointer
   [ERROR]   ITestAbfsIdentityTransformer.<init>:66 » NullPointer
   [ERROR]   ITestAbfsIdentityTransformer.<init>:66 » NullPointer
   [ERROR]   
ITestAzureBlobFileSystemAuthorization.testRenameAuthorized:125->runTest:241-
   [ERROR] Tests run: 409, Failures: 0, Errors: 7, Skipped: 32
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to