You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "TisonKun (JIRA)" <ji...@apache.org> on 2019/01/23 18:52:00 UTC

[jira] [Assigned] (FLINK-11397) Speed up initialization of AbstractStreamOperatorTestHarness

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

TisonKun reassigned FLINK-11397:
--------------------------------

    Assignee: TisonKun

> Speed up initialization of AbstractStreamOperatorTestHarness
> ------------------------------------------------------------
>
>                 Key: FLINK-11397
>                 URL: https://issues.apache.org/jira/browse/FLINK-11397
>             Project: Flink
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 1.8.0
>            Reporter: TisonKun
>            Assignee: TisonKun
>            Priority: Major
>
> Currently Kafka connector tests are unbearably slow, which is tracked by FLINK-10603. With investigation, the construction and initialization of {{AbstractStreamOperatorTestHarness}} is quite slow.
> When walk down the code, it amazed me that {{mockTask = mock(StreamTask.class);}} cost a few of second to finish. If we can introduce a test class instead of mock framework, the situation might be loosen.
> cc [~Zentol] [~pnowojski]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)