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

Move event processing-related tests from ConsumerNetworkThreadTest to ApplicationEventProcessorTest

    XMLWordPrintableJSON

Details

    Description

      The ConsumerNetworkThreadTest currently has a number of tests which do the following:

      1. Add event of type T to the event queue
      2. Call ConsumerNetworkThread.runOnce() to dequeue the events and call ApplicationEventProcessor.process()
      3. Verify that the appropriate ApplicationEventProcessor process method was invoked for the event

      Those types of tests should be moved to ApplicationEventProcessorTest.

      Attachments

        Issue Links

          Activity

            People

              kangning kangning.li
              kirktrue Kirk True
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: