[jira] [Created] (FLINK-8238) StreamTaskTestHarness should only allow one setup call

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8238) StreamTaskTestHarness should only allow one setup call

Shang Yuanchun (Jira)
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)