[
https://issues.apache.org/jira/browse/KAFKA-18981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937174#comment-17937174
]
David Arthur edited comment on KAFKA-18981 at 3/20/25 5:26 PM:
---------------------------------------------------------------
Duplicate of KAFKA-18846
Edit: nevermind, I see that one was closed wont fix for some reason. we'll use
this ticket for tracking
was (Author: davidarthur):
Duplicate of KAFKA-18846
> Fix flaky QuorumControllerTest.testMinIsrUpdateWithElr
> ------------------------------------------------------
>
> Key: KAFKA-18981
> URL: https://issues.apache.org/jira/browse/KAFKA-18981
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
>
> {code:java}
> org.opentest4j.AssertionFailedError: PartitionRegistration(replicas=[3, 1,
> 2], directories=[vFsJEjZDRlONBTr8543h6A, gQ7fQdQaTFmyno0jsZ2LVA,
> 4OWYkhmOTO2eaTFzTyiMEg], isr=[], removingReplicas=[], addingReplicas=[],
> elr=[3], lastKnownElr=[3], leader=-1, leaderRecoveryState=RECOVERED,
> leaderEpoch=1, partitionEpoch=3) ==> array lengths differ, expected: <1> but
> was: <0>
> at
> app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
> at
> app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
> at
> app//org.junit.jupiter.api.AssertArrayEquals.assertArraysHaveSameLength(AssertArrayEquals.java:428)
> at
> app//org.junit.jupiter.api.AssertArrayEquals.assertArrayEquals(AssertArrayEquals.java:237)
> at
> app//org.junit.jupiter.api.AssertArrayEquals.assertArrayEquals(AssertArrayEquals.java:87)
> at
> app//org.junit.jupiter.api.Assertions.assertArrayEquals(Assertions.java:1290)
> at
> app//org.apache.kafka.controller.QuorumControllerTest.testMinIsrUpdateWithElr(QuorumControllerTest.java:699)
> at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
> at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
> at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)