WencongLiu commented on code in PR #22341: URL: https://github.com/apache/flink/pull/22341#discussion_r1283946578
########## flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/FileSystemJobResultStoreFileOperationsTest.java: ########## @@ -116,46 +123,74 @@ public void testBaseDirectoryCreationOnResultStoreInitialization() throws Except assertThat(emptyBaseDirectory).doesNotExist(); fileSystemJobResultStore = - new FileSystemJobResultStore(basePath.getFileSystem(), basePath, false); + new FileSystemJobResultStore( + basePath.getFileSystem(), basePath, false, manuallyTriggeredExecutor); // Result store operations are creating the base directory on-the-fly assertThat(emptyBaseDirectory).doesNotExist(); - fileSystemJobResultStore.createDirtyResult(DUMMY_JOB_RESULT_ENTRY); + CompletableFuture<Void> dirtyResultAsync = + fileSystemJobResultStore.createDirtyResultAsync(DUMMY_JOB_RESULT_ENTRY); + manuallyTriggeredExecutor.trigger(); 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org