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
parent c93a2f6789
commit f30a0debae

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";