Skip to content

Commit a602b81

Browse files
committed
test disabled
1 parent 4d31167 commit a602b81

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/TestAccountConfiguration.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
* that do allow default values (all others) follow another form.
6767
*/
6868
public class TestAccountConfiguration {
69+
private static final String TEST_OAUTH_PROVIDER_CLASS_CONFIG = "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider";
6970
private static final String TEST_OAUTH_MSI_TOKEN_PROVIDER_CLASS_CONFIG = "org.apache.hadoop.fs.azurebfs.oauth2.MsiTokenProvider";
7071
private static final String TEST_CUSTOM_PROVIDER_CLASS_CONFIG = "org.apache.hadoop.fs.azurebfs.oauth2.RetryTestTokenProvider";
7172
private static final String TEST_SAS_PROVIDER_CLASS_CONFIG_1 = "org.apache.hadoop.fs.azurebfs.extensions.MockErrorSASTokenProvider";
@@ -91,11 +92,6 @@ public class TestAccountConfiguration {
9192
FS_AZURE_ACCOUNT_OAUTH_USER_NAME,
9293
FS_AZURE_ACCOUNT_OAUTH_USER_PASSWORD));
9394

94-
private static final List<String> MSI_TOKEN_OAUTH_CONFIG_KEYS =
95-
Collections.unmodifiableList(Arrays.asList(
96-
FS_AZURE_ACCOUNT_OAUTH_MSI_TENANT,
97-
FS_AZURE_ACCOUNT_OAUTH_CLIENT_ID));
98-
9995
private static final List<String> REFRESH_TOKEN_OAUTH_CONFIG_KEYS =
10096
Collections.unmodifiableList(Arrays.asList(
10197
FS_AZURE_ACCOUNT_OAUTH_REFRESH_TOKEN,
@@ -411,10 +407,8 @@ public void testAccessTokenProviderPrecedence()
411407
public void testOAuthConfigPropNotFound() throws Throwable {
412408
testConfigPropNotFound(CLIENT_CREDENTIAL_OAUTH_CONFIG_KEYS, ClientCredsTokenProvider.class.getName());
413409
testConfigPropNotFound(USER_PASSWORD_OAUTH_CONFIG_KEYS, UserPasswordTokenProvider.class.getName());
414-
testConfigPropNotFound(MSI_TOKEN_OAUTH_CONFIG_KEYS, MsiTokenProvider.class.getName());
415410
testConfigPropNotFound(REFRESH_TOKEN_OAUTH_CONFIG_KEYS, RefreshTokenBasedTokenProvider.class.getName());
416411
testConfigPropNotFound(WORKLOAD_IDENTITY_OAUTH_CONFIG_KEYS, WorkloadIdentityTokenProvider.class.getName());
417-
418412
}
419413

420414
private void testConfigPropNotFound(List<String> configKeys,

0 commit comments

Comments
 (0)