You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Stanislav Kozlovski (Jira)" <ji...@apache.org> on 2023/12/26 20:16:00 UTC
[jira] [Resolved] (KAFKA-15780) Wait for consistent kraft metadata when creating topics in tests
[ https://issues.apache.org/jira/browse/KAFKA-15780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stanislav Kozlovski resolved KAFKA-15780.
-----------------------------------------
Resolution: Fixed
Resolving since this was merged. Nice work!
> Wait for consistent kraft metadata when creating topics in tests
> ----------------------------------------------------------------
>
> Key: KAFKA-15780
> URL: https://issues.apache.org/jira/browse/KAFKA-15780
> Project: Kafka
> Issue Type: Test
> Reporter: David Mao
> Assignee: David Mao
> Priority: Minor
> Fix For: 3.7.0
>
>
> Tests occasionally flake when not retrying stale metadata in KRaft mode.
> I suspect that the root cause is because TestUtils.createTopicWithAdmin waits for partitions to be present in the metadata cache but does not wait for the metadata to be fully published to the broker.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)