HADOOP-17641. ITestWasbUriAndConfiguration failing. (#2937)

This moves the mock account name --which is required to never exist-- from
"mockAccount"  to an account name containing a static UUID.

Contributed by Steve Loughran.
This commit is contained in:
Steve Loughran 2021-04-20 15:32:01 +01:00 committed by GitHub
parent 85a3532849
commit 2dd1e04010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public final class AzureBlobStorageTestAccount implements AutoCloseable,
public static final String ACCOUNT_KEY_PROPERTY_NAME = "fs.azure.account.key.";
public static final String TEST_ACCOUNT_NAME_PROPERTY_NAME = "fs.azure.account.name";
public static final String WASB_TEST_ACCOUNT_NAME_WITH_DOMAIN = "fs.azure.wasb.account.name";
public static final String MOCK_ACCOUNT_NAME = "mockAccount.blob.core.windows.net";
public static final String MOCK_ACCOUNT_NAME = "mockAccount-c01112a3-2a23-433e-af2a-e808ea385136.blob.core.windows.net";
public static final String WASB_ACCOUNT_NAME_DOMAIN_SUFFIX = ".blob.core.windows.net";
public static final String WASB_ACCOUNT_NAME_DOMAIN_SUFFIX_REGEX = "\\.blob(\\.preprod)?\\.core\\.windows\\.net";
public static final String MOCK_CONTAINER_NAME = "mockContainer";