BewareMyPower commented on code in PR #15633:
URL: https://github.com/apache/pulsar/pull/15633#discussion_r875432660
##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/AdvertisedListenersTest.java:
##########
@@ -112,6 +112,7 @@ public void testLookup() throws Exception {
// Verify we can get the correct HTTP redirect to the advertised
listener
for (PulsarAdmin a : getAllAdmins()) {
TopicStats s = a.topics().getStats("my-topic");
+ a.lookups().lookupTopic("my-topic");
Review Comment:
What's the purpose of this line? The returned value of `lookupTopic` is not
validated.
--
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]