Fixing return object
This commit is contained in:
@@ -123,7 +123,7 @@ public class ActuatorRefreshRabbitMQIT {
|
|||||||
// Sometimes the NGINX ingress takes a bit to catch up and realize the service is
|
// Sometimes the NGINX ingress takes a bit to catch up and realize the service is
|
||||||
// available and we get a 503, we just need to wait a bit
|
// available and we get a 503, we just need to wait a bit
|
||||||
await().timeout(Duration.ofSeconds(60))
|
await().timeout(Duration.ofSeconds(60))
|
||||||
.until(() -> rest.getForEntity("http://localhost:80/it", Boolean.class).getStatusCode().is2xxSuccessful());
|
.until(() -> rest.getForEntity("http://localhost:80/it", Object.class).getStatusCode().is2xxSuccessful());
|
||||||
|
|
||||||
// Wait a bit before we verify
|
// Wait a bit before we verify
|
||||||
await().pollInterval(Duration.ofSeconds(1)).atMost(Duration.ofSeconds(90)).until(() -> {
|
await().pollInterval(Duration.ofSeconds(1)).atMost(Duration.ofSeconds(90)).until(() -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user