Extending wait time for IT
This commit is contained in:
@@ -128,7 +128,7 @@ public class ActuatorRefreshRabbitMQIT {
|
||||
() -> rest.getForEntity("http://localhost:80/it", String.class).getStatusCode().is2xxSuccessful());
|
||||
|
||||
// Wait a bit before we verify
|
||||
await().pollInterval(Duration.ofSeconds(1)).atMost(Duration.ofSeconds(90)).until(() -> {
|
||||
await().pollInterval(Duration.ofSeconds(1)).atMost(Duration.ofSeconds(600)).until(() -> {
|
||||
Boolean value = rest.getForObject("http://localhost:80/it", Boolean.class);
|
||||
log.info("Returned " + value + " from http://localhost:80/it");
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user