anmolanmol1234 commented on code in PR #7801: URL: https://github.com/apache/hadoop/pull/7801#discussion_r2228214679
########## hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestGetNameSpaceEnabled.java: ########## @@ -471,10 +472,10 @@ private Configuration getConfigurationWithoutHnsConfig() { rawConfig.unset(FS_AZURE_ACCOUNT_IS_HNS_ENABLED); rawConfig.unset(accountProperty(FS_AZURE_ACCOUNT_IS_HNS_ENABLED, this.getAccountName())); - String testAccountName = "testAccount.dfs.core.windows.net"; - String defaultUri = this.getTestUrl().replace(this.getAccountName(), testAccountName); + String defaultUri = getRawConfiguration().get(FS_DEFAULT_NAME_KEY). + replace("blob.core.windows.net","dfs.core.windows.net"); Review Comment: should we use our available ".blob." constants here ? -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org