Skip to content

Commit

Permalink
refactor(core): allow any 2xx as successful
Browse files Browse the repository at this point in the history
  • Loading branch information
npepinpe committed Jan 15, 2024
1 parent f0172ea commit 1ec2450
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static HttpWaitStrategy newDefaultBrokerReadyCheck() {
return new HttpWaitStrategy()
.forPath("/ready")
.forPort(ZeebePort.MONITORING.getPort())
.forStatusCode(204)
.forStatusCodeMatching(status -> status >= 200 && status < 300)
.withReadTimeout(Duration.ofSeconds(10));
}

Expand Down

0 comments on commit 1ec2450

Please sign in to comment.