Skip to content

Commit

Permalink
Upgrade curator
Browse files Browse the repository at this point in the history
  • Loading branch information
faderskd committed Nov 22, 2024
1 parent 520793f commit aa1a3f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ allprojects {
jackson : '2.17.0',
jersey : '3.1.6',
jetty : '12.0.8',
curator : '5.4.0',
curator : '5.7.1',
dropwizard_metrics: '4.2.25',
micrometer_metrics: '1.12.5',
wiremock : '3.9.0',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,14 @@ public void beforeAll(ExtensionContext context) {
Stream.of(consumers, frontend).forEach(HermesTestApp::start);
started = true;
}
boolean needsRestart =
Stream.of(management, consumers, frontend).anyMatch(HermesTestApp::shouldBeRestarted);
if (needsRestart) {
restart();
}
// .forEach(
// app -> {
// if (app.shouldBeRestarted()) {
// app.stop();
// app.start();
// }
// });
Stream.of(management, consumers, frontend)
.forEach(
app -> {
if (app.shouldBeRestarted()) {
app.stop();
app.start();
}
});
hermesTestClient =
new HermesTestClient(management.getPort(), frontend.getPort(), consumers.getPort());
hermesInitHelper = new HermesInitHelper(management.getPort(), frontend);
Expand Down

0 comments on commit aa1a3f1

Please sign in to comment.