AHeise commented on a change in pull request #10542: [FLINK-12484][runtime] 
move checkpoint lock to source task
URL: https://github.com/apache/flink/pull/10542#discussion_r373411945
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/StreamSourceOperatorWatermarksTest.java
 ##########
 @@ -147,7 +147,7 @@ public void testAutomaticWatermarkContext() throws 
Exception {
                StreamSourceContexts.getSourceContext(
                        TimeCharacteristic.IngestionTime,
                        processingTimeService,
-                       operator.getContainingTask().getCheckpointLock(),
+                       ((MockStreamTask<?, ?>) 
operator.getContainingTask()).getCheckpointLock(),
 
 Review comment:
   It would be cleaner to return the task from `setupSourceOperator` instead of 
the task.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to