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

Unify sendMessages/getMessages in unit tests

    XMLWordPrintableJSON

Details

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

    Description

      Multiple unit tests have its own internal function to send/get messages from the brokers. For example:

      sendMessages in ZookeeperConsumerConnectorTest
      produceMessage in UncleanLeaderElectionTest
      sendMessages in FetcherTest

      etc

      It is better to unify them in TestUtils.

      Attachments

        1. KAFKA-1416.patch
          20 kB
          Flutra Osmani
        2. KAFKA-1416_2015-03-01_17:24:55.patch
          20 kB
          Flutra Osmani
        3. KAFKA-1416_2015-03-26_00:20:36.patch
          33 kB
          Flutra Osmani
        4. KAFKA-1416_2015-04-10_18:36:10.patch
          37 kB
          Flutra Osmani

        Activity

          People

            futtre Flutra Osmani
            guozhang Guozhang Wang
            Guozhang Wang Guozhang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: