WencongLiu commented on code in PR #22341:
URL: https://github.com/apache/flink/pull/22341#discussion_r1264364274


##########
flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherResourceCleanupTest.java:
##########
@@ -548,7 +557,10 @@ public void 
testFatalErrorIfJobCannotBeMarkedDirtyInJobResultStore() throws Exce
                 TestingJobResultStore.builder()
                         .withCreateDirtyResultConsumer(
                                 jobResult -> {
-                                    throw new IOException("Expected 
IOException.");
+                                    CompletableFuture<Boolean> future = new 
CompletableFuture<>();
+                                    future.completeExceptionally(
+                                            new IOException("Expected 
IOException."));
+                                    return future;

Review Comment:
   Fixed.



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