AHeise commented on code in PR #195:
URL: 
https://github.com/apache/flink-connector-kafka/pull/195#discussion_r2527551651


##########
flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTestEnvironmentImpl.java:
##########
@@ -123,13 +123,13 @@ public void deleteTestTopic(String topic) {
 
     private void tryDelete(AdminClient adminClient, String topic) throws 
Exception {
         try {
-            adminClient.deleteTopics(Collections.singleton(topic)).all().get();
             CommonTestUtils.waitUtil(
                     () -> {
                         try {
-                            return 
adminClient.listTopics().listings().get().stream()
-                                    .map(TopicListing::name)
-                                    .noneMatch((name) -> name.equals(topic));
+                            
adminClient.deleteTopics(Collections.singleton(topic)).all().get();

Review Comment:
   I'm reverting. It didn't work either way reliably.



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