[
https://issues.apache.org/jira/browse/KAFKA-15928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lianet Magrans resolved KAFKA-15928.
------------------------------------
Resolution: Duplicate
Marking this as dup of KAFKA-18844 (PR out)
> Flaky test - testBalancePartitionLeaders - QuorumControllerTest
> ---------------------------------------------------------------
>
> Key: KAFKA-15928
> URL: https://issues.apache.org/jira/browse/KAFKA-15928
> Project: Kafka
> Issue Type: Bug
> Reporter: Lucas Brutschy
> Priority: Major
> Labels: flaky-test
>
> Test is intermittently failing.
> [https://ge.apache.org/scans/tests?search.names=Git%20branch&search.relativeStartTime=P28D&search.rootProjectNames=kafka&search.timeZoneId=Europe%2FVienna&search.values=trunk&tests.container=org.apache.kafka.controller.QuorumControllerTest&tests.test=testBalancePartitionLeaders()]
>
> ```
> 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:210)
> at
> org.apache.kafka.test.TestUtils.lambda$waitForCondition$3(TestUtils.java:331)
> at
> org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:379)
> at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:328)
> at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:312)
> at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:302)
> at
> org.apache.kafka.controller.QuorumControllerTest.testBalancePartitionLeaders(QuorumControllerTest.java:490)
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)