[
https://issues.apache.org/jira/browse/FLINK-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826606#comment-16826606
]
Liya Fan commented on FLINK-12334:
----------------------------------
Hi [[email protected]], thanks for opening this issue. Would you please provide
more details? Which test failed?
AbstractStreamOperatorTestHarnessTest#testInitializeAfterOpenning seems to be
working on my computer.
> change to MockStreamTask breaks OneInputStreamOperatorTestHarness
> -----------------------------------------------------------------
>
> Key: FLINK-12334
> URL: https://issues.apache.org/jira/browse/FLINK-12334
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Affects Versions: 1.8.0
> Reporter: Cliff Resnick
> Priority: Major
>
> The move to the MockStreamTask is created with does not include
> initialization of an Accumulator Map when using the builder
> [https://github.com/apache/flink/blob/e43d55445e7abcadb92460bb4d61e28540f1189d/flink-streaming-java/src/test/java/org/apache/flink/streaming/util/AbstractStreamOperatorTestHarness.java#L198]
> This results in with a TestHarness whose context contains an immutable empty
> map and is breaking tests. The fix is simple, please include an actual map in
> the builder call.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)