anujmodi2021 commented on code in PR #7642: URL: https://github.com/apache/hadoop/pull/7642#discussion_r2057688377
########## hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestFileSystemProperties.java: ########## @@ -135,4 +135,23 @@ public void testSetFileSystemProperties() throws Exception { assertEquals(properties, fetchedProperties); } + + @Test + //Test to verify buffersize remains the same as set in the configuration, irrespective of the parameter passed to FSDataInputStream + public void testBufferSizeSet() throws Exception { + final AzureBlobFileSystem fs = getFileSystem(); + AbfsConfiguration abfsConfig = fs.getAbfsStore().getAbfsConfiguration(); + int bufferSizeConfig = 5 * 1024 * 1024; Review Comment: Let's use constants here like "ONE_MB" -- 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