aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2018-12-06 13:48:55 +0100
committerMartin Polden <mpolden@mpolden.no>2018-12-06 13:50:23 +0100
commit46324477ebd60fb4551a7a8241ac86613453ae2a (patch)
treefda938d39194d1bc4c13eeeee92e883f8db41aa7 /controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java
parentb34c9cf316c1ef8a632f37286bef7482aaa1c52e (diff)
Remove corp zone from tests
Diffstat (limited to 'controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java')
-rw-r--r--controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java
index e97376d1f66..264d28fa056 100644
--- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java
+++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java
@@ -22,7 +22,7 @@ import java.util.Map;
import java.util.Optional;
import static com.yahoo.vespa.hosted.controller.api.integration.deployment.JobType.component;
-import static com.yahoo.vespa.hosted.controller.api.integration.deployment.JobType.productionCorpUsEast1;
+import static com.yahoo.vespa.hosted.controller.api.integration.deployment.JobType.productionUsWest1;
import static com.yahoo.vespa.hosted.controller.api.integration.deployment.JobType.stagingTest;
import static com.yahoo.vespa.hosted.controller.api.integration.deployment.JobType.systemTest;
import static com.yahoo.vespa.hosted.controller.maintenance.DeploymentIssueReporter.maxFailureAge;
@@ -39,11 +39,11 @@ public class DeploymentIssueReporterTest {
private final static ApplicationPackage applicationPackage = new ApplicationPackageBuilder()
.environment(Environment.prod)
- .region("corp-us-east-1")
+ .region("us-west-1")
.build();
private final static ApplicationPackage canaryPackage = new ApplicationPackageBuilder()
.environment(Environment.prod)
- .region("corp-us-east-1")
+ .region("us-west-1")
.upgradePolicy("canary")
.build();
@@ -95,7 +95,7 @@ public class DeploymentIssueReporterTest {
tester.jobCompletion(component).application(app3).uploadArtifact(applicationPackage).submit();
tester.deployAndNotify(app3, applicationPackage, true, systemTest);
tester.deployAndNotify(app3, applicationPackage, true, stagingTest);
- tester.deployAndNotify(app3, applicationPackage, false, productionCorpUsEast1);
+ tester.deployAndNotify(app3, applicationPackage, false, productionUsWest1);
reporter.maintain();
reporter.maintain();
@@ -130,7 +130,7 @@ public class DeploymentIssueReporterTest {
// app3 fixes their problems, but the ticket for app3 is left open; see the resolved ticket is not escalated when another escalation period has passed.
- tester.deployAndNotify(app3, applicationPackage, true, productionCorpUsEast1);
+ tester.deployAndNotify(app3, applicationPackage, true, productionUsWest1);
tester.clock().advance(maxInactivity.plus(Duration.ofDays(1)));
reporter.maintain();