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)

Reply via email to