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
|
// Delete topics
|
||||||
for (t <- topics if running) {
|
for (t <- topics if running) {
|
||||||
try {
|
try {
|
||||||
adminZkClient.deleteTopic(t)
|
deleteTopic(t)
|
||||||
TestUtils.verifyTopicDeletion(zkClient, t, partitionNum, servers)
|
TestUtils.verifyTopicDeletion(null, t, partitionNum, servers)
|
||||||
} catch {
|
} catch {
|
||||||
case e: Exception => e.printStackTrace()
|
case e: Exception => e.printStackTrace()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue