summaryrefslogtreecommitdiffstats
path: root/node-repository/src/test/java/com/yahoo
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-05-19 16:05:05 +0200
committerMartin Polden <mpolden@mpolden.no>2022-05-19 16:20:52 +0200
commitbeebe77103244e456e0b6e53af190cd969093be7 (patch)
treedaeeba7061637289cd7a85d1165ded62901ac3bb /node-repository/src/test/java/com/yahoo
parentc649cd5637b141d4e45243824f07e18e6e03f951 (diff)
Choose node resources with a matching host flavor when exclusive
When using a custom cloud account (always exclusive) we cannot choose a too small flavor because there may not be any matching host flavor. This currently works in our own zones because there is always a shared host that can be used for admin nodes (feature flag is set in all zones) and there is no way to set exclusivity requirement for those clusters.
Diffstat (limited to 'node-repository/src/test/java/com/yahoo')
-rw-r--r--node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java b/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java
index f28b76ab31f..4140588d1c8 100644
--- a/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java
+++ b/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java
@@ -239,7 +239,7 @@ public class AutoscalingTest {
ClusterSpec cluster1 = tester.clusterSpec(ClusterSpec.Type.container, "cluster1");
NodeResources defaultResources =
- new CapacityPolicies(tester.nodeRepository()).defaultNodeResources(cluster1, application1);
+ new CapacityPolicies(tester.nodeRepository()).defaultNodeResources(cluster1, application1, false);
// deploy
tester.deploy(application1, cluster1, Capacity.from(min, max));