PoAn Yang created KAFKA-19092:
---------------------------------
Summary: Flaky test
QuorumControllerTest#testBalancePartitionLeaders
Key: KAFKA-19092
URL: https://issues.apache.org/jira/browse/KAFKA-19092
Project: Kafka
Issue Type: Test
Reporter: PoAn Yang
The test case is flaky in 3% pipeline recently.
{noformat}
org.opentest4j.AssertionFailedError: Condition not met within timeout 10000.
Leaders were not balanced after unfencing all of the brokers ==> expected:
<true> but was: <false>
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.AssertTrue.failNotTrue(AssertTrue.java:63)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
at org.apache.kafka.test.TestUtils.lambda$waitForCondition$4(TestUtils.java:435)
at
org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:483)
at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:432)
at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:416)
at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:406)
at
org.apache.kafka.controller.QuorumControllerTest.testBalancePartitionLeaders(QuorumControllerTest.java:864)
at java.lang.reflect.Method.invoke(Method.java:580)at
java.util.ArrayList.forEach(ArrayList.java:1597)
at java.util.ArrayList.forEach(ArrayList.java:1597){noformat}
Failed pipeline:
[https://github.com/apache/kafka/actions/runs/14269851970/job/40000712339?pr=19372]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)