chia7712 commented on code in PR #17579:
URL: https://github.com/apache/kafka/pull/17579#discussion_r1828253736
##########
test-common/test-common-api/src/main/java/org/apache/kafka/common/test/api/ClusterInstance.java:
##########
@@ -225,4 +235,56 @@ default void waitAcls(AclBindingFilter filter,
Collection<AccessControlEntry> en
}
}
+ default <B extends KafkaBroker> void verifyTopicDeletion(String topic, int
numPartitions) throws Exception {
+ verifyTopicDeletion(topic, numPartitions, brokers().values());
+ }
+
+ default <B extends KafkaBroker> void verifyTopicDeletion(String topic, int
numPartitions, Collection<B> brokers) throws Exception {
Review Comment:
Could you please rename it to `waitForTopicDeletion`?
Additionally, could you please don't expose `KafkaBroker`? we will cleanup
all inner interface later and that should not be used by tests anymore.
--
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]