snvijaya opened a new pull request #2329:
URL: https://github.com/apache/hadoop/pull/2329


   Test testNegativeScenariosForCreateOverwriteDisabled fails when run against 
a non-HNS account. The test creates a mock AbfsClient to mimic negative 
scenarios.
   
   Mock is triggered for valid values that come in for permission and umask 
while creating a file. Permission and umask get defaulted to null values within 
driver when creating a file for a nonHNS account. The mock trigger was not 
enabled for these null parameters.
   
   Mock code is fixed and the all tests of class ITestAzureBlobFileSystemCreate 
were run against below combinations over accounts in East US2 region:
   
   NON-HNS:
   
        SharedKey:
                [INFO] Running 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCreate
                [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time 
elapsed: 27.79 s - in 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCreate
                [INFO] 
                [INFO] Results:
                [INFO] 
                [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
                [INFO] 
   
        OAuth:
                [INFO] Running 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCreate
                [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time 
elapsed: 32.9 s - in 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCreate
                [INFO] 
                [INFO] Results:
                [INFO] 
                [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
   
   HNS:
   
        SharedKey:
                [INFO] Running 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCreate
                [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time 
elapsed: 27.318 s - in 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCreate
                [INFO] 
                [INFO] Results:
                [INFO] 
                [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
                [INFO] 
   
        OAuth:
                [INFO] Running 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCreate
                [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time 
elapsed: 32.787 s - in 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCreate
                [INFO] 
                [INFO] Results:
                [INFO] 
                [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
   


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to