Extending wait time for IT

This commit is contained in:
Ryan Baxter
2023-04-20 10:54:00 -04:00
committed by GitHub
parent 7a9c6d0249
commit 59cf7a1a34

View File

@@ -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;