lhotari commented on a change in pull request #9258:
URL: https://github.com/apache/pulsar/pull/9258#discussion_r561725600
##########
File path:
pulsar-discovery-service/src/test/java/org/apache/pulsar/discovery/service/DiscoveryServiceTest.java
##########
@@ -90,9 +91,11 @@ private void clean() throws Exception {
public void testBrokerDiscoveryRoundRobin() throws Exception {
addBrokerToZk(5);
String prevUrl = null;
+ BrokerDiscoveryProvider discoveryProvider =
service.getDiscoveryProvider();
+ assertEquals(discoveryProvider.getAvailableBrokers().size(), 5);
Review comment:
would there be a need to use Awaitility to make sure that there are 5
available brokers?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]