zentol commented on a change in pull request #19195:
URL: https://github.com/apache/flink/pull/19195#discussion_r837734753



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/jobmaster/JobMasterTest.java
##########
@@ -2025,9 +2009,8 @@ private void runJobFailureWhenTaskExecutorTerminatesTest(
                                         return 
CompletableFuture.completedFuture(Acknowledge.get());
                                     })
                             .setHeartbeatJobManagerFunction(
-                                    heartbeatConsumerFunction.apply(
-                                            jobMasterGateway,
-                                            
taskManagerUnresolvedLocation.getResourceID()))
+                                    (ignoredResourceId, 
ignoredAllocationSlotReport) ->
+                                            FutureUtils.completedVoidFuture())

Review comment:
       this is the default behavior of the builder; so we don't even need to 
set a function at all.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to