diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2021-02-25 14:35:06 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2021-02-25 14:35:06 +0100 |
commit | 763da150aa83643d77df6b1fc20bf6e1df323c9b (patch) | |
tree | 864d11d6a8c0b61623d35d0032274b6afa8be3fa /config-model | |
parent | 0efc34a67dafff6c23351ffc0f2315cf1c7dbe4b (diff) |
Use a single dedicated cluster-controller in test environments
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java b/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java index 7efe3d4f35f..685bc0a4f25 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java @@ -355,7 +355,7 @@ public class ContentCluster extends AbstractConfigProducer implements private ClusterControllerContainerCluster getDedicatedSharedControllers(ModelElement contentElement, Admin admin, ConfigModelContext context, DeployState deployState) { if (admin.getClusterControllers() == null) { - NodesSpecification spec = NodesSpecification.requiredFromSharedParents(3, + NodesSpecification spec = NodesSpecification.requiredFromSharedParents(deployState.zone().environment().isTest() ? 1 : 3, clusterControllerResources, contentElement, context); |