Add test for 1286 (#1305)

This commit is contained in:
erabii
2023-04-18 02:33:45 +03:00
committed by GitHub
parent 49a0106eb4
commit 2a27ffcc78
3 changed files with 41 additions and 27 deletions

View File

@@ -455,7 +455,7 @@ public final class Util {
private void waitForDeployment(String namespace, V1Deployment deployment) {
String deploymentName = deploymentName(deployment);
await().pollInterval(Duration.ofSeconds(1)).atMost(900, TimeUnit.SECONDS)
await().pollDelay(Duration.ofSeconds(5)).pollInterval(Duration.ofSeconds(5)).atMost(900, TimeUnit.SECONDS)
.until(() -> isDeploymentReady(deploymentName, namespace));
}