[ 
https://issues.apache.org/jira/browse/KAFKA-8461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manikumar resolved KAFKA-8461.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0

Issue resolved by pull request 6887
[https://github.com/apache/kafka/pull/6887]

> Flakey test 
> UncleanLeaderElectionTest#testUncleanLeaderElectionDisabledByTopicOverride
> --------------------------------------------------------------------------------------
>
>                 Key: KAFKA-8461
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8461
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Boyang Chen
>            Priority: Major
>             Fix For: 2.4.0
>
>
> [https://builds.apache.org/job/kafka-pr-jdk11-scala2.12/5168/consoleFull]
> *15:47:56* kafka.integration.UncleanLeaderElectionTest > 
> testUncleanLeaderElectionDisabledByTopicOverride FAILED*15:47:56*     
> org.scalatest.exceptions.TestFailedException: Timing out after 30000 ms since 
> expected new leader 1 was not elected for partition 
> topic-9147891452427084986-0, leader is Some(-1)*15:47:56*         at 
> org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530)*15:47:56*
>          at 
> org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529)*15:47:56*
>          at 
> org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1389)*15:47:56*
>          at org.scalatest.Assertions.fail(Assertions.scala:1091)*15:47:56*    
>      at org.scalatest.Assertions.fail$(Assertions.scala:1087)*15:47:56*       
>   at org.scalatest.Assertions$.fail(Assertions.scala:1389)*15:47:56*         
> at 
> kafka.utils.TestUtils$.$anonfun$waitUntilLeaderIsElectedOrChanged$8(TestUtils.scala:722)*15:47:56*
>          at scala.Option.getOrElse(Option.scala:138)*15:47:56*         at 
> kafka.utils.TestUtils$.waitUntilLeaderIsElectedOrChanged(TestUtils.scala:712)*15:47:56*
>          at 
> kafka.integration.UncleanLeaderElectionTest.verifyUncleanLeaderElectionDisabled(UncleanLeaderElectionTest.scala:258)*15:47:56*
>          at 
> kafka.integration.UncleanLeaderElectionTest.testUncleanLeaderElectionDisabledByTopicOverride(UncleanLeaderElectionTest.scala:153)*15:47:56*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to