diff --git a/flink-filesystems/flink-azure-fs-hadoop/src/test/java/org/apache/flink/fs/azurefs/AzureFileSystemBehaviorITCase.java b/flink-filesystems/flink-azure-fs-hadoop/src/test/java/org/apache/flink/fs/azurefs/AzureFileSystemBehaviorITCase.java index 2b6d27b06c4c1..6830e29a670d5 100644 --- a/flink-filesystems/flink-azure-fs-hadoop/src/test/java/org/apache/flink/fs/azurefs/AzureFileSystemBehaviorITCase.java +++ b/flink-filesystems/flink-azure-fs-hadoop/src/test/java/org/apache/flink/fs/azurefs/AzureFileSystemBehaviorITCase.java @@ -76,9 +76,6 @@ static void onlyRunIfHttps() throws IOException { assumeThat(TOKEN_CREDENTIALS_FILE) .describedAs("Azure token credentials not configured, skipping test...") .isNotBlank(); - assumeThat(ACCOUNT) - .describedAs("Azure storage account not configured, skipping test...") - .isNotBlank(); assumeThat(isHttpsTrafficOnly()).isFalse(); } @@ -113,6 +110,9 @@ private static boolean isHttpsTrafficOnly() throws IOException { @BeforeAll static void checkCredentialsAndSetup() { // check whether credentials and container details exist + assumeThat(ACCOUNT) + .describedAs("Azure storage account not configured, skipping test...") + .isNotBlank(); assumeThat(CONTAINER) .describedAs("Azure container not configured, skipping test...") .isNotBlank();