zentol commented on a change in pull request #8269: [FLINK-12285][test] Harden 
savepoint relevant test cases by explicitly canceling test job
URL: https://github.com/apache/flink/pull/8269#discussion_r278556051
 
 

 ##########
 File path: 
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/SavepointMigrationTestBase.java
 ##########
 @@ -244,5 +248,19 @@ protected final void restoreAndExecute(
                if (!done) {
                        fail("Did not see the expected accumulator results 
within time limit.");
                }
+
+               client.cancel(jobGraph.getJobID());
+               waitJobCanceled(client, jobGraph.getJobID());
 
 Review comment:
   should not be necessary since the cluster is shut down afterwards

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to