diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2017-11-07 16:02:58 +0100 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2017-11-07 16:02:58 +0100 |
commit | 504c1ffef0d53aba32a2980886f42f8f4c7ccb64 (patch) | |
tree | dc433a8d551cc1140356909dce42037f4a701ce1 /controller-server/src/test | |
parent | 1beeb8cede61e0228dc7711fc5a5f8671dbd1731 (diff) |
Reverted fix
Diffstat (limited to 'controller-server/src/test')
-rw-r--r-- | controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ControllerTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ControllerTest.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ControllerTest.java index f6a650e71be..02cb42fb355 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ControllerTest.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ControllerTest.java @@ -480,6 +480,16 @@ public class ControllerTest { assertEquals(expectedStatus, existingStatus); } + private JobReport mockReport(Application application, JobType jobType, Optional<JobError> jobError) { + return new JobReport( + application.id(), + jobType, + application.deploymentJobs().projectId().get(), + 42, + jobError + ); + } + @Test public void testGlobalRotations() throws IOException { // Setup tester and app def |