diff options
author | Martin Polden <mpolden@mpolden.no> | 2018-02-06 11:47:03 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2018-02-20 13:27:00 +0100 |
commit | a0d596375786e2ae3ec439f11c051313e6ab2dc4 (patch) | |
tree | a3339560ce22e6308a446168607055aeebb29ca0 /controller-server/src/test/java/com/yahoo/vespa/hosted/controller/maintenance/DeploymentIssueReporterTest.java | |
parent | 47c80b0ff1976d0cf39f78bda1f5af6a7454a24b (diff) |
Require application version
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.java | 6 |
1 files changed, 3 insertions, 3 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 e57edcf6da0..155c9f14f77 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 @@ -78,14 +78,14 @@ public class DeploymentIssueReporterTest { // NOTE: All maintenance should be idempotent within a small enough time interval, so maintain is called twice in succession throughout. // apps 1 and 3 have one failure each. - tester.notifyJobCompletion(component, app1, true); + tester.jobCompletion(component).application(app1).uploadArtifact(applicationPackage).submit(); tester.deployAndNotify(app1, applicationPackage, true, systemTest); tester.deployAndNotify(app1, applicationPackage, false, stagingTest); // app2 is successful, but will fail later. tester.deployCompletely(app2, canaryPackage); - tester.notifyJobCompletion(component, app3, true); + 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); @@ -134,7 +134,7 @@ public class DeploymentIssueReporterTest { // app3 now has a new failure past max failure age; see that a new issue is filed. - tester.notifyJobCompletion(component, app3, true); + tester.jobCompletion(component).application(app3).submit(); tester.deployAndNotify(app3, applicationPackage, false, systemTest); tester.clock().advance(maxInactivity.plus(maxFailureAge)); |