mirror of https://github.com/apache/kafka.git
KAFKA-18228 The MetricsDuringTopicCreationDeletionTest should delete topics to ensure that the metrics are recreated (#18163)
Reviewers: TengYao Chi <kitingiao@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
161d1cdf85
commit
669d8610a2
|
@ -145,8 +145,8 @@ class MetricsDuringTopicCreationDeletionTest extends KafkaServerTestHarness with
|
|||
// Delete topics
|
||||
for (t <- topics if running) {
|
||||
try {
|
||||
adminZkClient.deleteTopic(t)
|
||||
TestUtils.verifyTopicDeletion(zkClient, t, partitionNum, servers)
|
||||
deleteTopic(t)
|
||||
TestUtils.verifyTopicDeletion(null, t, partitionNum, servers)
|
||||
} catch {
|
||||
case e: Exception => e.printStackTrace()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue