Skip to content

Commit 6dbc563

Browse files
committed
[FLINK-38642][checkpoint] Specify thread pool to avoid CheckpointCoordinatorTest hang
1 parent f846e1d commit 6dbc563

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4453,7 +4453,8 @@ void testCompletionFutureCompletesAfterReporting() throws Exception {
44534453
} catch (Exception e) {
44544454
throw new RuntimeException(e);
44554455
}
4456-
});
4456+
},
4457+
EXECUTOR_RESOURCE.getExecutor());
44574458

44584459
assertThat(tracker.getReportStartedFuture().get(TIMEOUT_SECONDS, TimeUnit.SECONDS))
44594460
.as("reportCompletedCheckpoint should be started soon when checkpoint is acked.")

0 commit comments

Comments
 (0)