[ https://issues.apache.org/jira/browse/FLINK-17011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17265875#comment-17265875 ]
Aljoscha Krettek commented on FLINK-17011: ------------------------------------------ I think introducing a builder pattern here is good. [~yunta], feel free to take over the PR and update it. > Introduce builder to create AbstractStreamOperatorTestHarness for testing > ------------------------------------------------------------------------- > > Key: FLINK-17011 > URL: https://issues.apache.org/jira/browse/FLINK-17011 > Project: Flink > Issue Type: Improvement > Components: API / DataStream, Tests > Affects Versions: 1.10.0 > Reporter: Yun Tang > Assignee: Yun Tang > Priority: Major > Labels: pull-request-available > Fix For: 1.13.0 > > Time Spent: 10m > Remaining Estimate: 0h > > Current \{{AbstractStreamOperatorTestHarness}} lacks of builder which leads > us to create more constructors. Moreover, to set customized component, we > might have to call \{{AbstractStreamOperatorTestHarness#setup}}, which might > be treated a deprecated interface, before using. -- This message was sent by Atlassian Jira (v8.3.4#803005)