showuon commented on code in PR #13037: URL: https://github.com/apache/kafka/pull/13037#discussion_r1055995690
########## core/src/test/scala/unit/kafka/utils/TestUtils.scala: ########## @@ -452,6 +452,7 @@ object TestUtils extends Logging { } catch { case e: ExecutionException => if (!(e.getCause != null && Review Comment: Yes, I have the same confusion at first. But look again, it'll find there is a (not)! in front of the whole condition. That is: ``` *!* (e.getCause != null && e.getCause.isInstanceOf[TopicExistsException] && !waitForAllPartitionsMetadata(brokers, topic, effectiveNumPartitions).isEmpty && topicHasSameNumPartitionsAndReplicationFactor(admin, topic, effectiveNumPartitions, replicationFactor) ) ``` -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org