[ https://issues.apache.org/jira/browse/KAFKA-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011926#comment-16011926 ]
ASF GitHub Bot commented on KAFKA-5175: --------------------------------------- GitHub user onurkaraman opened a pull request: https://github.com/apache/kafka/pull/3067 KAFKA-5175: Fix transient failure in ControllerIntegrationTest.testPreferredReplicaLeaderElection The transient failure came from the controller processing the preferred replica leader election before the restarted broker (the preferred replica leader) has joined isr, causing preferred replica leader election to fail and for the final zookeeper state validation to fail. You can merge this pull request into a Git repository by running: $ git pull https://github.com/onurkaraman/kafka KAFKA-5175 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3067.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3067 ---- commit b40e5fb6794fe50d316f18fcced111094ea73004 Author: Onur Karaman <okara...@linkedin.com> Date: 2017-05-16T07:41:48Z KAFKA-5175: Fix transient failure in ControllerIntegrationTest.testPreferredReplicaLeaderElection The transient failure came from the controller processing the preferred replica leader election before the restarted broker (the preferred replica leader) has joined isr, causing preferred replica leader election to fail and for the final zookeeper state validation to fail. ---- > Transient failure: > ControllerIntegrationTest.testPreferredReplicaLeaderElection > ------------------------------------------------------------------------------- > > Key: KAFKA-5175 > URL: https://issues.apache.org/jira/browse/KAFKA-5175 > Project: Kafka > Issue Type: Sub-task > Reporter: Ismael Juma > Assignee: Onur Karaman > > {code} > java.lang.AssertionError: failed to get expected partition state upon broker > startup > at kafka.utils.TestUtils$.fail(TestUtils.scala:311) > at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:811) > at > kafka.controller.ControllerIntegrationTest.waitForPartitionState(ControllerIntegrationTest.scala:293) > at > kafka.controller.ControllerIntegrationTest.testPreferredReplicaLeaderElection(ControllerIntegrationTest.scala:211) > {code} > https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/3497/testReport/kafka.controller/ControllerIntegrationTest/testPreferredReplicaLeaderElection/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)