[
https://issues.apache.org/jira/browse/KAFKA-10859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250252#comment-17250252
]
Tom Bentley commented on KAFKA-10859:
-------------------------------------
I think we should improve the test slightly anyway, to cover the case where the
file is created after some number of polls. I'll open a PR after you've merged
the fix for KAFKA-10846 since there's a dependency on a method added there.
> add @Test annotation to FileStreamSourceTaskTest.testInvalidFile and reduce
> the loop count to speedup the test
> --------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-10859
> URL: https://issues.apache.org/jira/browse/KAFKA-10859
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Tom Bentley
> Priority: Major
> Labels: newbie
>
> FileStreamSourceTaskTest.testInvalidFile miss a `@Test` annotation. Also, it
> loops 100 times which spend about 2m to complete a unit test.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)