You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/12/11 14:16:00 UTC
[jira] [Created] (FLINK-8238) StreamTaskTestHarness should only
allow one setup call
Chesnay Schepler created FLINK-8238:
---------------------------------------
Summary: StreamTaskTestHarness should only allow one setup call
Key: FLINK-8238
URL: https://issues.apache.org/jira/browse/FLINK-8238
Project: Flink
Issue Type: Improvement
Components: Streaming, Tests
Affects Versions: 1.5.0
Reporter: Chesnay Schepler
Fix For: 1.5.0
The {{StreamTaskTestHarness}} offers 2 methods for settting up an {{OperatorChain}}:
* setupOutputForSingletonOperatorChain
* setupOperatorChain
We should add a check to make sure that only one of these methods is called. Calling both methods leads to undefined behavior by the task and is a bit tricky to debug.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)