Github user aljoscha commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3778#discussion_r114342323
  
    --- Diff: 
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/SavepointMigrationTestBase.java
 ---
    @@ -208,11 +190,37 @@ protected final void restoreAndExecute(
                JobSubmissionResult jobSubmissionResult = 
cluster.submitJobDetached(jobGraph);
     
                StandaloneClusterClient clusterClient = new 
StandaloneClusterClient(cluster.configuration());
    +           JobListeningContext jobListeningContext = 
clusterClient.connectToJob(jobSubmissionResult.getJobID());
     
                boolean done = false;
                while (DEADLINE.hasTimeLeft()) {
    +
    +                   // try and get a job result, this will fail if the job 
already failed. Use this
    +                   // to get out of this loop
    +                   JobID jobId = jobSubmissionResult.getJobID();
    +                   FiniteDuration timeout = FiniteDuration.apply(5, 
TimeUnit.SECONDS);
    +
    +                   try {
    +
    +                           Future<Object> future = 
Patterns.ask(clusterClient.getJobManagerGateway().actor(),
    --- End diff --
    
    Changing


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to