Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
1.8.0
-
None
-
None
Description
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.