Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8384

Write integration tests for leader election command

    Details

    • Type: Task
    • Status: Patch Available
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Add integration tests for leader election command. Some cases that we should cover:

      1. unclean using --all-topic-partitions
      2. unclean using --topic and --partition
      3. unclean using --path-to-json-file
      4. preferred uusing --all-topic-partitions
      5. command with --topic but without --partition
      6. unknown topic partition
      7. missing --election-type
      8. missing topic partition selection no: --topic, --partition, --path-to-json-file or --all-topic-partitions
      9. invalid broker list

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jagsancio Jose Armando Garcia Sancio
                Reporter:
                jagsancio Jose Armando Garcia Sancio
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: