Skip to content

Commit

Permalink
Shut down the executor forcibly to interrupt any stuck workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gmokki committed Apr 18, 2020
1 parent aba60d6 commit f0a78ee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,7 @@ public void stateProcessingSeriesStopsOnShutdown() throws InterruptedException {
executorService.shutdown();
shutdownRequest.set(true);
boolean wasTerminated = executorService.awaitTermination(5, SECONDS);
executorService.shutdownNow();

assertTrue(wasTerminated);
}
Expand Down

0 comments on commit f0a78ee

Please sign in to comment.