HADOOP-17715 ABFS: Append blob tests with non HNS accounts fail (#3028) (#3125)

(cherry picked from commit 4c039fafeb)
This commit is contained in:
snehavarma 2021-07-12 11:51:41 +05:30 committed by GitHub
parent a1f90883f0
commit ab3809cf8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -26,6 +26,7 @@ set -eo pipefail
begin begin
### ADD THE TEST COMBINATIONS BELOW. DO NOT EDIT THE ABOVE LINES. ### ADD THE TEST COMBINATIONS BELOW. DO NOT EDIT THE ABOVE LINES.
### THE SCRIPT REQUIRES THE FOLLOWING UTILITIES xmlstarlet AND pcregrep.
combination=HNS-OAuth combination=HNS-OAuth
@ -34,6 +35,12 @@ properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled"
values=("{account name}.dfs.core.windows.net" "true" "OAuth") values=("{account name}.dfs.core.windows.net" "true" "OAuth")
generateconfigs generateconfigs
combination=AppendBlob-HNS-OAuth
properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled"
"fs.azure.account.auth.type" "fs.azure.test.appendblob.enabled")
values=("{account name}.dfs.core.windows.net" "true" "OAuth" "true")
generateconfigs
combination=HNS-SharedKey combination=HNS-SharedKey
properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled" "fs.azure.account.auth.type") properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled" "fs.azure.account.auth.type")
values=("{account name}.dfs.core.windows.net" "true" "SharedKey") values=("{account name}.dfs.core.windows.net" "true" "SharedKey")

View File

@ -167,7 +167,8 @@ create the test FS instance.
<value>false</value> <value>false</value>
<description>If made true, tests will be running under the assumption that <description>If made true, tests will be running under the assumption that
append blob is enabled and the root directory and contract test root append blob is enabled and the root directory and contract test root
directory will be part of the append blob directories. directory will be part of the append blob directories. Should be false for
non-HNS accounts.
</description> </description>
</property> </property>