t-rana commented on code in PR #1542: URL: https://github.com/apache/jackrabbit-oak/pull/1542#discussion_r1650371492
########## oak-run-commons/src/main/java/org/apache/jackrabbit/oak/fixture/DataStoreUtils.java: ########## @@ -146,26 +150,52 @@ public static void deleteBucket(String bucket, Map<String, ?> map, Date date) th } public static void deleteAzureContainer(Map<String, ?> config, String containerName) throws Exception { + if (config == null) { + return; + } if (Strings.isNullOrEmpty(containerName)) { return; } - String connectionString = (String) config.get(AzureConstants.AZURE_CONNECTION_STRING); - if (Strings.isNullOrEmpty(connectionString)) { - String accountName = (String) config.get(AzureConstants.AZURE_STORAGE_ACCOUNT_NAME); - String accountKey = (String) config.get(AzureConstants.AZURE_STORAGE_ACCOUNT_KEY); - if (Strings.isNullOrEmpty(accountName) || - Strings.isNullOrEmpty(accountKey)) { - return; - } - connectionString = org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage.Utils.getConnectionString(accountName, accountKey); + CloudBlobContainer container = getCloudBlobContainer(config, containerName); + if (container == null) { + log.info("container is not initialized"); Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org