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 2025/04/21 07:35:00 UTC

[jira] [Commented] (KAFKA-19180) Fix the hanging testPendingTaskSize

    [ https://issues.apache.org/jira/browse/KAFKA-19180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17946065#comment-17946065 ] 

Chia-Ping Tsai commented on KAFKA-19180:
----------------------------------------

the check of `assertEquals(2, scheduler.pendingTaskSize())` may fail if the thread pool is too slow to consume the runnable objects. We can fix it by adding a simple loop. Also, it would be good to add timeout to this test.

> Fix the hanging testPendingTaskSize
> -----------------------------------
>
>                 Key: KAFKA-19180
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19180
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>
> see https://github.com/apache/kafka/actions/runs/14560322254/job/40842877645?pr=19521



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