Skip to content

Commit

Permalink
Some more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Nov 20, 2023
1 parent 4baed3e commit 36127b7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ public void stop(boolean forcibly) {
LOGGER.info("Stopping Elasticsearch test cluster '{}', forcibly: {}", name, forcibly);
execute(() -> nodes.parallelStream().forEach(n -> stopNode(nodes.indexOf(n), forcibly)));
} else {
LOGGER.info("Stopping Elasticsearch test cluster '{}', forcibly: {}", name, forcibly);
// Make sure the process is stopped, otherwise wait
// execute(() -> nodes.parallelStream().forEach(Node::waitForExit));
execute(() -> nodes.parallelStream().forEach(Node::waitForExit));
}
}

Expand Down

0 comments on commit 36127b7

Please sign in to comment.