showuon commented on a change in pull request #10665:
URL: https://github.com/apache/kafka/pull/10665#discussion_r636865778



##########
File path: 
core/src/test/scala/unit/kafka/integration/MetricsDuringTopicCreationDeletionTest.scala
##########
@@ -116,9 +116,9 @@ class MetricsDuringTopicCreationDeletionTest extends 
KafkaServerTestHarness with
     running = false;
     thread.join
 
-    assert(offlinePartitionsCount==0, "OfflinePartitionCount not 0: "+ 
offlinePartitionsCount)
-    assert(preferredReplicaImbalanceCount==0, "PreferredReplicaImbalanceCount 
not 0: " + preferredReplicaImbalanceCount)
-    assert(underReplicatedPartitionCount==0, "UnderReplicatedPartitionCount 
not 0: " + underReplicatedPartitionCount)
+    assert(offlinePartitionsCount==0, "Expect OfflinePartitionCount to be 0, 
but got: "+ offlinePartitionsCount)

Review comment:
       Will update it later. Thanks. 




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