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

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


The following commit(s) were added to refs/heads/release-1.7 by this push:
     new 185693f  [FLINK-10881] Use cancelWithSavepoint in SavepointITCase test.
185693f is described below

commit 185693f71486d1a7f3d396c5b303de7f46e9420c
Author: Kostas Kloudas <kklou...@gmail.com>
AuthorDate: Mon Feb 25 15:11:55 2019 +0100

    [FLINK-10881] Use cancelWithSavepoint in SavepointITCase test.
---
 .../test/java/org/apache/flink/test/checkpointing/SavepointITCase.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/flink-tests/src/test/java/org/apache/flink/test/checkpointing/SavepointITCase.java
 
b/flink-tests/src/test/java/org/apache/flink/test/checkpointing/SavepointITCase.java
index 9140570..67cc9b7 100644
--- 
a/flink-tests/src/test/java/org/apache/flink/test/checkpointing/SavepointITCase.java
+++ 
b/flink-tests/src/test/java/org/apache/flink/test/checkpointing/SavepointITCase.java
@@ -192,7 +192,7 @@ public class SavepointITCase extends TestLogger {
 
                        StatefulCounter.getProgressLatch().await();
 
-                       return client.triggerSavepoint(jobId, null).get();
+                       return client.cancelWithSavepoint(jobId, null);
                } finally {
                        cluster.after();
                        StatefulCounter.resetForTest(parallelism);

Reply via email to