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

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

Jose Armando Garcia Sancio created KAFKA-8383:
-------------------------------------------------

             Summary: 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
             Fix For: 2.3.0


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)