You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "majialong (Jira)" <ji...@apache.org> on 2026/05/16 05:21:00 UTC

[jira] [Assigned] (KAFKA-20586) Flaky : LeaderElectionCommandTest > testPreferredReplicaElection [1] Type=Raft-Isolated, MetadataVersion=4.4-IV0

     [ https://issues.apache.org/jira/browse/KAFKA-20586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

majialong reassigned KAFKA-20586:
---------------------------------

    Assignee: majialong

> Flaky : LeaderElectionCommandTest > testPreferredReplicaElection [1] Type=Raft-Isolated, MetadataVersion=4.4-IV0
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-20586
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20586
>             Project: Kafka
>          Issue Type: Task
>          Components: tools
>            Reporter: Muralidhar Basani
>            Assignee: majialong
>            Priority: Major
>
> FAILED - LeaderElectionCommandTest > testPreferredReplicaElection [1] Type=Raft-Isolated, MetadataVersion=4.4-IV0,BrokerSecurityProtocol=PLAINTEXT,BrokerListenerName=ListenerName(EXTERNAL),ControllerSecurityProtocol=PLAINTEXT,ControllerListenerName=ListenerName(CONTROLLER)
> {code:java}
> org.opentest4j.AssertionFailedError: expected: <1> but was: <2>    
> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)    
> at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)    
> at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)    
> at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)    
> at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)    
> at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531)    
> at org.apache.kafka.tools.LeaderElectionCommandTest.assertLeader(LeaderElectionCommandTest.java:451)    
> at org.apache.kafka.tools.LeaderElectionCommandTest.testPreferredReplicaElection(LeaderElectionCommandTest.java:285){code}
> [https://develocity.apache.org/s/bglqbjvx2nvna/tests/task/:tools:test/details/org.apache.kafka.tools.LeaderElectionCommandTest/testPreferredReplicaElection()%5B1%5D?top-execution=2]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)