aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2019-03-01 11:51:49 +0100
committergjoranv <gv@verizonmedia.com>2019-03-01 11:51:49 +0100
commit636b5e18b8f8be02f3fedf285a0432a58333223c (patch)
treed83b9ebce93099ea952c5a08c7a58f254e63d97f /config-model/src/test
parent968a1b901fe8e5bac17f75a2edd23965aa5d67ce (diff)
Make the Container class abstract
.. to enforce that subclasses implement myServiceType.
Diffstat (limited to 'config-model/src/test')
-rwxr-xr-xconfig-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java b/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java
index 303799d4346..5ef0ba37c22 100755
--- a/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java
@@ -264,7 +264,7 @@ public class ContainerClusterTest {
private static void addContainer(DeployLogger deployLogger, ContainerCluster cluster, String name, String hostName) {
- Container container = new Container(cluster, name, 0, cluster.isHostedVespa());
+ Container container = new ContainerImpl(cluster, name, 0, cluster.isHostedVespa());
container.setHostResource(new HostResource(new Host(null, hostName)));
container.initService(deployLogger);
cluster.addContainer(container);