flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8238) StreamTaskTestHarness should only allow one setup call
Date Tue, 12 Dec 2017 11:33:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287475#comment-16287475
] 

ASF GitHub Bot commented on FLINK-8238:
---------------------------------------

Github user aljoscha commented on the issue:

    https://github.com/apache/flink/pull/5153
  
    Looks good! Have you tried actually running this with a `TwoInputStreamOperator`?


> 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
>            Assignee: 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)

Mime
View raw message