You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by kk...@apache.org on 2019/02/28 12:59:10 UTC

[flink] branch master updated: [FLINK-10881] Use cancelWithSavepoint in SavepointITCase test.

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

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


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

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

    [FLINK-10881] Use cancelWithSavepoint in SavepointITCase test.
    
    This closes #7833.
---
 .../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 df4e6f3..5b77f03 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);