[
https://issues.apache.org/jira/browse/KAFKA-8383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gustafson resolved KAFKA-8383.
------------------------------------
Resolution: Fixed
> Write integration test for electLeaders
> ---------------------------------------
>
> Key: KAFKA-8383
> URL: https://issues.apache.org/jira/browse/KAFKA-8383
> Project: Kafka
> Issue Type: Task
> Components: core
> Reporter: Jose Armando Garcia Sancio
> Assignee: Jose Armando Garcia Sancio
> Priority: Critical
>
> Add tests for electLeaders in AdminClientIntegrationTest. Some cases that we
> should cover:
> # Topic doesn't exists => UNKNOWN_TOPIC_OR_PARTITION
> # Unclean/preferred election not needed => ELECTION_NOT_NEEDED
> # Unclean/preferred election not possible => ELIGIBLE_LEADERS_NOT_AVAILABLE
> # Election succeeded => NONE
> # All partition (partitions==null) => NONE for all performed election. The
> result map should only contain NONE.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)