Skip to content

Commit

Permalink
[hotfix] Fix error from cherry-picking 0ea00ea
Browse files Browse the repository at this point in the history
  • Loading branch information
kl0u committed Jan 22, 2020
1 parent 0ea00ea commit 6061372
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void testSubmittingJobViaRestClusterClient() throws Exception {

final JobResult jobResult = restClusterClient
.submitJob(jobGraph)
.thenCompose(restClusterClient::requestJobResult)
.thenCompose((submissionRes) -> restClusterClient.requestJobResult(submissionRes.getJobID()))
.get();

final String messageInCaseOfFailure = jobResult.getSerializedThrowable().isPresent() ?
Expand Down

0 comments on commit 6061372

Please sign in to comment.