summaryrefslogtreecommitdiffstats
path: root/node-repository/src/test
diff options
context:
space:
mode:
authorBjørn Meland <bjormel@users.noreply.github.com>2023-11-03 14:42:25 +0000
committerGitHub <noreply@github.com>2023-11-03 14:42:25 +0000
commit5adfe3dd5851488c847c014b5473018a93879327 (patch)
tree1d8507bd21703c45d6bb41fb74e6fed03ea11d93 /node-repository/src/test
parent59107fa8733a7061b41d0122df7ca8ab524383a4 (diff)
parentc31fd7fea8c5c2b5a2ce02b07bdf68d077d8c089 (diff)
Merge pull request #29202 from vespa-engine/bjormel/dont_autoscale_single_node_clusters
Don't autoscale resources in single node clusters
Diffstat (limited to 'node-repository/src/test')
-rw-r--r--node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java4
1 files changed, 1 insertions, 3 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 37e1390a673..d4d34ab66e5 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
@@ -843,9 +843,7 @@ public class AutoscalingTest {
.build();
fixture.tester().clock().advance(Duration.ofDays(2));
fixture.loader().applyLoad(new Load(1.0, 1.0, 1.0), 200);
- fixture.tester().assertResources("Scale only to a single node and group since this is dev",
- 1, 1, 0.1, 22.9, 105.2,
- fixture.autoscale());
+ assertEquals("Don't autoscale: Autoscaling is disabled in single node clusters", fixture.autoscale().toString());
}
/** Same setup as test_autoscaling_in_dev(), just with required = true */