You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2019/06/03 20:17:00 UTC

[jira] [Resolved] (KAFKA-8383) Write integration test for electLeaders

     [ 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)