showuon commented on code in PR #16284:
URL: https://github.com/apache/kafka/pull/16284#discussion_r1634858629
##########
core/src/test/scala/unit/kafka/integration/UncleanLeaderElectionTest.scala:
##########
@@ -330,26 +342,44 @@ class UncleanLeaderElectionTest extends QuorumTestHarness
{
waitForPartitionMetadata(brokers, topic, partitionId)
assertEquals(List("first"), consumeAllMessages(topic, 1))
+ // Verify the "unclean.leader.election.enable" won't be triggered even if
it is enabled/disabled dynamically
Review Comment:
The unclean leader election won't be trigger because the leader is already
alive.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]