summaryrefslogtreecommitdiffstats
path: root/controller-server/src
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2019-03-28 17:12:41 +0100
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2019-03-28 17:12:41 +0100
commit91db624768c18fc321931c7d061c2d28e8057845 (patch)
tree688a65b4cd0adf198430933e61e8d79df5d3dcc5 /controller-server/src
parent3ee246d41a139d37ab46a4a3a445a96743b81279 (diff)
Fix double assignment in unit test framework
Diffstat (limited to 'controller-server/src')
-rw-r--r--controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java
index ecf849fc68c..ca8a2e34fdf 100644
--- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java
+++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/deployment/InternalDeploymentTester.java
@@ -89,10 +89,7 @@ public class InternalDeploymentTester {
* Submits a new application, and returns the version of the new submission.
*/
public ApplicationVersion newSubmission() {
- ApplicationVersion version = jobs.submit(appId, BuildJob.defaultSourceRevision, "a@b", 2, applicationPackage, new byte[0]);
- tester.applicationStore().put(appId, version, applicationPackage.zippedContent());
- tester.applicationStore().put(testerId, version, new byte[0]);
- return version;
+ return jobs.submit(appId, BuildJob.defaultSourceRevision, "a@b", 2, applicationPackage, new byte[0]);
}
/**