flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tillrohrmann <...@git.apache.org>
Subject [GitHub] flink pull request #5579: [FLINK-8778] Migrate queryable state ITCases to us...
Date Tue, 27 Feb 2018 10:05:54 GMT
Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5579#discussion_r170863098
  
    --- Diff: flink-queryable-state/flink-queryable-state-runtime/src/test/java/org/apache/flink/queryablestate/itcases/AbstractQueryableStateTestBase.java
---
    @@ -304,47 +296,18 @@ public Integer getKey(Tuple2<Integer, Long> value) {
     		final JobGraph jobGraph = env.getStreamGraph().getJobGraph();
     		final JobID jobId = jobGraph.getJobID();
     
    -		final CompletableFuture<TestingJobManagerMessages.JobStatusIs> failedFuture =
    -				notifyWhenJobStatusIs(jobId, JobStatus.FAILED, deadline);
    -
    -		final CompletableFuture<TestingJobManagerMessages.JobStatusIs> cancellationFuture
=
    -				notifyWhenJobStatusIs(jobId, JobStatus.CANCELED, deadline);
    +		clusterClient.submitJob(jobGraph, AbstractQueryableStateTestBase.class.getClassLoader());
    --- End diff --
    
    Same here.


---

Mime
View raw message