You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Arthur (Jira)" <ji...@apache.org> on 2025/03/20 17:26:00 UTC

[jira] [Commented] (KAFKA-18981) Fix flaky QuorumControllerTest.testMinIsrUpdateWithElr

    [ https://issues.apache.org/jira/browse/KAFKA-18981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937174#comment-17937174 ] 

David Arthur commented on KAFKA-18981:
--------------------------------------

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 java.base@17.0.14/java.lang.reflect.Method.invoke(Method.java:569)
> 	at java.base@17.0.14/java.util.ArrayList.forEach(ArrayList.java:1511)
> 	at java.base@17.0.14/java.util.ArrayList.forEach(ArrayList.java:1511)
> {code}



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