diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-06-04 16:28:17 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-06-04 16:28:17 +0200 |
commit | a90ef9a25f43c4bf44c8b7757387ba7e3f2b3dc6 (patch) | |
tree | b7687c4b0d1eecb2ed3bdd6d9c3897114d9fe5d3 | |
parent | 2aaead7fd8822caf1984a8c5efe5ff4bb4292838 (diff) |
Update tests
2 files changed, 4 insertions, 2 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java index c3a527a0bd9..4203051965b 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java @@ -122,7 +122,8 @@ public class ConfigServerMock extends AbstractComponent implements ConfigServer current, Instant.ofEpochMilli(1234), Optional.of(Instant.ofEpochMilli(2234)))), - "the autoscaling status", + "ideal", + "Cluster is ideally scaled", Duration.ofMinutes(6), 0.7, 0.3); diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-clusters.json b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-clusters.json index cd1fe5acf6a..fc40a9ce692 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-clusters.json +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/application-clusters.json @@ -97,7 +97,8 @@ "completion": 2234 } ], - "autoscalingStatus": "the autoscaling status", + "autoscalingStatusCode": "ideal", + "autoscalingStatus": "Cluster is ideally scaled", "scalingDuration": 360000, "maxQueryGrowthRate": 0.7, "currentQueryFractionOfMax":0.3 |