You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2021/04/22 03:04:00 UTC

[jira] [Updated] (KAFKA-12705) Task idling is not sufficiently tested

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

Matthias J. Sax updated KAFKA-12705:
------------------------------------
    Component/s: unit tests

> Task idling is not sufficiently tested
> --------------------------------------
>
>                 Key: KAFKA-12705
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12705
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams, unit tests
>            Reporter: Walker Carlson
>            Priority: Major
>
> The test for task idling are a bit sparse. When I changed it so that isProcessable always returns true only one test failed. That means the entire code path is hinging on one unit test (shouldBeProcessableIfAllPartitionsBuffered) that does not cover all branches of logic. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)