You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2021/01/20 11:27:13 UTC

[flink] branch release-1.12 updated: [hotfix][tests] Pass JobStatus.FINISHED to CheckpointCoordinator.shutdown in CheckpointCoordinatorTest.testScheduleTriggerRequestDuringShutdown

This is an automated email from the ASF dual-hosted git repository.

trohrmann pushed a commit to branch release-1.12
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.12 by this push:
     new ac7d737  [hotfix][tests] Pass JobStatus.FINISHED to CheckpointCoordinator.shutdown in CheckpointCoordinatorTest.testScheduleTriggerRequestDuringShutdown
ac7d737 is described below

commit ac7d737138e42e1c878f3a5b68c171bf365b2650
Author: Till Rohrmann <tr...@apache.org>
AuthorDate: Wed Jan 20 12:25:48 2021 +0100

    [hotfix][tests] Pass JobStatus.FINISHED to CheckpointCoordinator.shutdown in CheckpointCoordinatorTest.testScheduleTriggerRequestDuringShutdown
---
 .../org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java
index 7f978e1..d088606 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinatorTest.java
@@ -138,7 +138,7 @@ public class CheckpointCoordinatorTest extends TestLogger {
         ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor();
         CheckpointCoordinator coordinator =
                 getCheckpointCoordinator(new ScheduledExecutorServiceAdapter(executor));
-        coordinator.shutdown();
+        coordinator.shutdown(JobStatus.FINISHED);
         executor.shutdownNow();
         coordinator.scheduleTriggerRequest(); // shouldn't fail
     }