zentol commented on code in PR #19968:
URL: https://github.com/apache/flink/pull/19968#discussion_r901485771


##########
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/adaptive/StopWithSavepointTest.java:
##########
@@ -82,7 +82,9 @@ void testJobFailed() throws Exception {
         try (MockStopWithSavepointContext ctx = new 
MockStopWithSavepointContext()) {
             StateTrackingMockExecutionGraph mockExecutionGraph =
                     new StateTrackingMockExecutionGraph();
-            StopWithSavepoint sws = createStopWithSavepoint(ctx, 
mockExecutionGraph);
+            final CompletableFuture<String> savepointFuture = 
CompletableFuture.completedFuture("");

Review Comment:
   > testJobFailed pretty much covers the scenario, doesn't it?
   
   It's close to covering it; just needs a 1 line adjustment :)



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to