You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by di...@apache.org on 2023/07/10 14:11:07 UTC
[kafka] 07/08: MINOR: fix flaky ZkMigrationIntegrationTest.testNewAndChangedTopicsInDualWrite (#13902)
This is an automated email from the ASF dual-hosted git repository.
divijv pushed a commit to branch 3.5
in repository https://gitbox.apache.org/repos/asf/kafka.git
commit 045c356701aeac3d36ff4b57ecac25ea66ffebb1
Author: Chia-Ping Tsai <ch...@gmail.com>
AuthorDate: Wed Jun 28 22:45:26 2023 +0800
MINOR: fix flaky ZkMigrationIntegrationTest.testNewAndChangedTopicsInDualWrite (#13902)
Reviewers: David Arthur <mu...@gmail.com>
---
.../test/scala/integration/kafka/zk/ZkMigrationIntegrationTest.scala | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/src/test/scala/integration/kafka/zk/ZkMigrationIntegrationTest.scala b/core/src/test/scala/integration/kafka/zk/ZkMigrationIntegrationTest.scala
index 662f706b095..ed9b8370a1d 100644
--- a/core/src/test/scala/integration/kafka/zk/ZkMigrationIntegrationTest.scala
+++ b/core/src/test/scala/integration/kafka/zk/ZkMigrationIntegrationTest.scala
@@ -508,8 +508,7 @@ class ZkMigrationIntegrationTest {
// Verify the changes seen in Zk.
verifyTopicPartitionMetadata(topicName, existingPartitions ++ Seq(new TopicPartition(topicName, 2)), zkClient)
} finally {
- zkCluster.stop()
- kraftCluster.close()
+ shutdownInSequence(zkCluster, kraftCluster)
}
}