diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2023-10-10 15:45:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 15:45:34 +0200 |
commit | 7564d59acf10f940ea244f1ec4163eb7d9ba893a (patch) | |
tree | 3c5490175f15cbcc5ac1e0ed700885eb97f3d1a7 /controller-api/src | |
parent | 2490f1b88836af294c1cf427c5703dbdc4e690c0 (diff) | |
parent | c32236ee217146f65a3a6ae8764cfd53a4e0e2a8 (diff) |
Merge pull request #28852 from vespa-engine/jonmv/no-wait-for-initial-aws-lb-checks-in-dev-first-time
Avoid wait for health check for first-time dev deployments
Diffstat (limited to 'controller-api/src')
2 files changed, 2 insertions, 2 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java index d290097b6e9..66cfb6edfe3 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java @@ -29,7 +29,7 @@ public interface TesterCloud { /** Returns whether the test container is ready to serve */ boolean testerReady(DeploymentId deploymentId); - Availability verifyEndpoints(DeploymentId deploymentId, List<Endpoint> endpoints); + Availability verifyEndpoints(DeploymentId deploymentId, List<Endpoint> endpoints, boolean initialDeployment); /** Returns the test report as JSON if available */ Optional<TestReport> getTestReport(DeploymentId deploymentId); diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java index 0e57eadb518..97d6248ec8d 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java @@ -57,7 +57,7 @@ public class MockTesterCloud implements TesterCloud { } @Override - public Availability verifyEndpoints(DeploymentId deploymentId, List<Endpoint> endpoints) { + public Availability verifyEndpoints(DeploymentId deploymentId, List<Endpoint> endpoints, boolean initialDeployment) { return endpointsChecker.endpointsAvailable(endpoints); } |