hachikuji commented on a change in pull request #9777:
URL: https://github.com/apache/kafka/pull/9777#discussion_r567117397



##########
File path: core/src/test/scala/unit/kafka/utils/TestUtils.scala
##########
@@ -349,10 +349,13 @@ object TestUtils extends Logging {
       !hasSessionExpirationException},
       s"Can't create topic $topic")
 
+    // wait until we've got the expected partition size
+    waitUntilMetadataIsPropagatedWithExpectedSize(servers, topic, 
numPartitions)

Review comment:
       As mentioned in the other comment, this is probably good enough. The 
extra validations below seem like overkill.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to