You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "黃竣陽 (Jira)" <ji...@apache.org> on 2025/02/21 16:56:00 UTC
[jira] [Created] (KAFKA-18846) Flaky test QuorumControllerTest#testMinIsrUpdateWithElr
黃竣陽 created KAFKA-18846:
---------------------------
Summary: Flaky test QuorumControllerTest#testMinIsrUpdateWithElr
Key: KAFKA-18846
URL: https://issues.apache.org/jira/browse/KAFKA-18846
Project: Kafka
Issue Type: Test
Reporter: 黃竣陽
When I use `./gradlew clean build` on my local machine, this test flaky and interrupt the build progress
{code:java}
org.opentest4j.AssertionFailedError: PartitionRegistration(replicas=[2, 3, 1], directories=[L8Fgh-fDQd69qsANlLz-6A, fRS2e_muTPSFZEPb_bg9AA, 0e1ufxXFTwKFWvtnfcQtIw], isr=[], removingReplicas=[], addingReplicas=[], elr=[3], lastKnownElr=[3], leader=-1, leaderRecoveryState=RECOVERED, leaderEpoch=2, 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:697)
at java.base@17.0.12/java.lang.reflect.Method.invoke(Method.java:568)
at java.base@17.0.12/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.12/java.util.ArrayList.forEach(ArrayList.java:1511) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)