anmolanmol1234 commented on code in PR #7216:
URL: https://github.com/apache/hadoop/pull/7216#discussion_r1879377311


##########
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/services/ITestExponentialRetryPolicy.java:
##########
@@ -96,6 +96,16 @@ public void testDefaultMaxIORetryCount() throws Exception {
     testMaxIOConfig(abfsConfig);
   }
 
+  @Test
+  public void testDefaultClientSideThrottling() throws Exception {
+    final Configuration configuration = new Configuration();
+    AbfsConfiguration abfsConfiguration = new AbfsConfiguration(configuration,
+            DUMMY_ACCOUNT_NAME);
+    Assume.assumeTrue(configuration.get(FS_AZURE_ENABLE_AUTOTHROTTLING) == 
null);
+    Assertions.assertThat(abfsConfiguration.isAutoThrottlingEnabled())

Review Comment:
   This test will fail if someone enables throttling



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to