[
https://issues.apache.org/jira/browse/KAFKA-18825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ksolves India Limited updated KAFKA-18825:
------------------------------------------
Issue Type: Test (was: Task)
> Fix the flaky EligibleLeaderReplicasIntegrationTest
> ---------------------------------------------------
>
> Key: KAFKA-18825
> URL: https://issues.apache.org/jira/browse/KAFKA-18825
> Project: Kafka
> Issue Type: Test
> Reporter: Kamal Chandraprakash
> Priority: Major
>
>
> {noformat}
> java.lang.NullPointerException: Cannot invoke
> "org.apache.kafka.common.Node.id()" because the return value of
> "org.apache.kafka.common.TopicPartitionInfo.leader()" is nullat
> kafka.server.integration.EligibleLeaderReplicasIntegrationTest.testLastKnownLeaderShouldBeElectedIfEmptyElr(EligibleLeaderReplicasIntegrationTest.java:424){noformat}
>
> {noformat}
> [2025-02-18 14:21:53,000] WARN [RemoteLogManager=0
> partition=cOqaT8VmRYavtd924H5RwQ:Leader-0] Current task for partition
> cOqaT8VmRYavtd924H5RwQ:Leader-0 received error but it will be scheduled
> (kafka.log.remote.RemoteLogManager$RLMTask:832)
> java.lang.NullPointerException: null
> [2025-02-18 14:21:53,005] WARN [RemoteLogManager=0
> partition=cOqaT8VmRYavtd924H5RwQ:Leader-0] Current task for partition
> cOqaT8VmRYavtd924H5RwQ:Leader-0 received error but it will be scheduled
> (kafka.log.remote.RemoteLogManager$RLMTask:832)
> java.lang.NullPointerException: null{noformat}
> https://develocity.apache.org/scans/tests?search.rootProjectNames=kafka&search.timeZoneId=Europe%2FParis&tests.container=kafka.server.integration.EligibleLeaderReplicasIntegrationTest
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)