You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/08/15 18:29:00 UTC

[jira] [Resolved] (KAFKA-16818) Move event processing-related tests from ConsumerNetworkThreadTest to ApplicationEventProcessorTest

     [ https://issues.apache.org/jira/browse/KAFKA-16818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chia-Ping Tsai resolved KAFKA-16818.
------------------------------------
    Resolution: Fixed

> Move event processing-related tests from ConsumerNetworkThreadTest to ApplicationEventProcessorTest
> ---------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-16818
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16818
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, consumer, unit tests
>    Affects Versions: 3.8.0
>            Reporter: Kirk True
>            Assignee: kangning.li
>            Priority: Minor
>              Labels: consumer-threading-refactor
>             Fix For: 4.0.0
>
>
> The {{ConsumerNetworkThreadTest}} currently has a number of tests which do the following:
>  # Add event of type _T_ to the event queue
>  # Call {{ConsumerNetworkThread.runOnce()}} to dequeue the events and call {{ApplicationEventProcessor.process()}}
>  # Verify that the appropriate {{ApplicationEventProcessor}} process method was invoked for the event
> Those types of tests should be moved to {{{}ApplicationEventProcessorTest{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)