Skip to content

Commit

Permalink
[FLINK-32715][test] Make test wait for application to stop before shu…
Browse files Browse the repository at this point in the history
…tting down the other services (#23104)
  • Loading branch information
XComp authored Aug 2, 2023
1 parent 2a1ae11 commit 99b9833
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,9 @@ public Long map(Long value) throws Exception {
taskManagerProcess.destroy();
}
if (dispatcherResourceManagerComponent != null) {
dispatcherResourceManagerComponent.stopApplication(
ApplicationStatus.SUCCEEDED, null);
dispatcherResourceManagerComponent
.stopApplication(ApplicationStatus.SUCCEEDED, null)
.get();
}

fatalErrorHandler.rethrowError();
Expand Down

0 comments on commit 99b9833

Please sign in to comment.