merlimat commented on a change in pull request #14222:
URL: https://github.com/apache/pulsar/pull/14222#discussion_r804183555
##########
File path:
pulsar-broker/src/test/java/org/apache/pulsar/client/api/BrokerServiceLookupTest.java
##########
@@ -731,6 +731,9 @@ public void testModularLoadManagerSplitBundle() throws
Exception {
// broker-2 loadManager is a leader and let it refresh load-report
from all the brokers
pulsar.getLeaderElectionService().close();
+ Awaitility.await().atMost(5, TimeUnit.SECONDS)
Review comment:
We can even use the default timeout here
```suggestion
Awaitility.await()
```
--
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]