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

Replace AdminUtils.createOrUpdateTopicPartitionAssignmentPathInZK with TestUtils.createTopic in unit tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None

    Description

      This is a follow-up JIRA from KAFKA-1389.

      There are a bunch of places in the unit tests where we misuse AdminUtils.createOrUpdateTopicPartitionAssignmentPathInZK to create topics, where TestUtils.createTopic needs to be used instead.

      Attachments

        1. KAFKA-1420.patch
          13 kB
          Jonathan Natkins
        2. KAFKA-1420_2014-07-30_11:18:26.patch
          16 kB
          Jonathan Natkins
        3. KAFKA-1420_2014-07-30_11:24:55.patch
          16 kB
          Jonathan Natkins
        4. KAFKA-1420_2014-08-02_11:04:15.patch
          31 kB
          Jonathan Natkins
        5. KAFKA-1420_2014-08-10_14:12:05.patch
          32 kB
          Jonathan Natkins
        6. KAFKA-1420_2014-08-10_23:03:46.patch
          31 kB
          Jonathan Natkins

        Issue Links

          Activity

            People

              natty Jonathan Natkins
              guozhang Guozhang Wang
              Jun Rao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: