lhotari commented on code in PR #23433:
URL: https://github.com/apache/pulsar/pull/23433#discussion_r1795312621


##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/extensions/ExtensibleLoadManagerCloseTest.java:
##########
@@ -88,14 +88,18 @@ private ServiceConfiguration brokerConfig() {
         
config.setLoadManagerClassName(ExtensibleLoadManagerImpl.class.getName());
         config.setLoadBalancerDebugModeEnabled(true);
         config.setBrokerShutdownTimeoutMs(100);
+
+        // Reduce these timeout configs to avoid failed tests being blocked 
too long
+        config.setMetadataStoreOperationTimeoutSeconds(5);
+        config.setNamespaceBundleUnloadingTimeoutMs(5000);
         return config;
     }
 
 
-    @Test
+    @Test(invocationCount = 10)

Review Comment:
   We should consider adding a new unit test group solely for all load manager 
related tests. That could be handled separately. I'm planning to add a new 
group for dispatcher tests since the main Key_Shared test takes almost 10 
minutes even on Mac M3Max locally. The test time doubled since now we test also 
the "classic" dispatcher for Key_Shared that was copied and ported from 
branch-3.3 in #23424



-- 
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]

Reply via email to