You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2026/05/15 22:38:00 UTC
[jira] [Resolved] (KAFKA-1534) transient unit test failure in testBasicPreferredReplicaElection
[ https://issues.apache.org/jira/browse/KAFKA-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax resolved KAFKA-1534.
------------------------------------
Resolution: Abandoned
> transient unit test failure in testBasicPreferredReplicaElection
> ----------------------------------------------------------------
>
> Key: KAFKA-1534
> URL: https://issues.apache.org/jira/browse/KAFKA-1534
> Project: Kafka
> Issue Type: Bug
> Components: core, unit tests
> Affects Versions: 0.8.2.0, 2.4.0
> Reporter: Jun Rao
> Priority: Major
> Labels: flaky-test, newbie
>
> Saw the following transient failure.
> kafka.admin.AdminTest > testBasicPreferredReplicaElection FAILED
> junit.framework.AssertionFailedError: Timing out after 5000 ms since leader is not elected or changed for partition [test,1]
> at junit.framework.Assert.fail(Assert.java:47)
> at kafka.utils.TestUtils$.waitUntilLeaderIsElectedOrChanged(TestUtils.scala:542)
> at kafka.admin.AdminTest.testBasicPreferredReplicaElection(AdminTest.scala:310)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)