zentol commented on a change in pull request #7780: [FLINK-11593][tests] Check 
& port TaskManagerTest to new code base
URL: https://github.com/apache/flink/pull/7780#discussion_r267330387
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/TaskExecutorTest.java
 ##########
 @@ -1771,7 +2415,349 @@ private TaskExecutor 
createTaskExecutor(TaskManagerServices taskManagerServices)
                        
UnregisteredMetricGroups.createUnregisteredTaskManagerMetricGroup(),
                        null,
                        dummyBlobCacheService,
-                       testingFatalErrorHandler);
+                       testingFatalErrorHandler
+               );
+       }
+
+       private void runTestAfterTaskSubmission(
+               List<TaskDeploymentDescriptor> tdds,
+               Function<TaskExecutionState, CompletableFuture<Acknowledge>> 
updateTaskExecutionStateFunction,
+               BiConsumerWithException<TaskExecutor, TaskManagerServices, ?> 
testAfterSubmission)
+               throws Throwable {
+               runTestAfterTaskSubmission(tdds, this.configuration, true, 
updateTaskExecutionStateFunction, null, testAfterSubmission);
+       }
+
+       private void runTestAfterTaskSubmission(
+               List<TaskDeploymentDescriptor> tdds,
+               Configuration configuration,
+               boolean localCommunication,
 
 Review comment:
   unused

----------------------------------------------------------------
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