You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/05/21 12:06:32 UTC

[GitHub] [kafka] showuon commented on a change in pull request #10665: KAFKA-9009: increase replica.lag.time.max.ms to make the test reliable

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