pnowojski commented on a change in pull request #9383: [FLINK-13248] [runtime] 
Adding processing of downstream messages in AsyncWaitOperator's wait loops
URL: https://github.com/apache/flink/pull/9383#discussion_r318420614
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/util/AbstractStreamOperatorTestHarness.java
 ##########
 @@ -283,13 +287,23 @@ public void setup(TypeSerializer<OUT> outputSerializer) {
                        streamTaskStateInitializer =
                                createStreamTaskStateManager(environment, 
stateBackend, processingTimeService);
                        
mockTask.setStreamTaskStateInitializer(streamTaskStateInitializer);
+
                        if (operator instanceof SetupableStreamOperator) {
                                ((SetupableStreamOperator) 
operator).setup(mockTask, config, new MockOutput(outputSerializer));
                        }
+                       SimpleOperatorFactory<OUT> factory = 
SimpleOperatorFactory.of(operator);
 
 Review comment:
   @AHeise I'm re-opening this issue, as I do not see that it has changed and 
it also duplicates some code from `StreamOperatorFactoryUtil.createOperator`.
   
   Am I missing something?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to