aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor/src/test/java/com/yahoo/vespa/service/model/ModelGeneratorTest.java
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@oath.com>2019-01-14 13:46:05 +0100
committerHåkon Hallingstad <hakon@oath.com>2019-01-14 13:46:05 +0100
commit9d8f687feb26c02f0c010c856d2e2506c451d9b1 (patch)
treeca0eee301abd53e0557a48892697d473ca0e2b36 /service-monitor/src/test/java/com/yahoo/vespa/service/model/ModelGeneratorTest.java
parent7f38b0d10b80fa67d83e36bc737573408de6c289 (diff)
Remove healthmonitor-monitorinfra, dupermodel-contains-infra, dupermodel-use-configserverconfig, proxyhost-uses-real-orchestrator, and confighost-uses-real-orchestrator flags
Diffstat (limited to 'service-monitor/src/test/java/com/yahoo/vespa/service/model/ModelGeneratorTest.java')
-rw-r--r--service-monitor/src/test/java/com/yahoo/vespa/service/model/ModelGeneratorTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-monitor/src/test/java/com/yahoo/vespa/service/model/ModelGeneratorTest.java b/service-monitor/src/test/java/com/yahoo/vespa/service/model/ModelGeneratorTest.java
index 30a49835f03..b77bdb4e54e 100644
--- a/service-monitor/src/test/java/com/yahoo/vespa/service/model/ModelGeneratorTest.java
+++ b/service-monitor/src/test/java/com/yahoo/vespa/service/model/ModelGeneratorTest.java
@@ -76,7 +76,7 @@ public class ModelGeneratorTest {
private List<ApplicationInfo> getExampleApplicationInfos() {
List<ApplicationInfo> applicationInfos = new ArrayList<>();
ConfigserverConfig config = ConfigserverUtil.createExampleConfigserverConfig();
- applicationInfos.add(new ConfigServerApplication().makeApplicationInfoFromConfig(config));
+ applicationInfos.add(ConfigserverUtil.makeExampleConfigServer());
applicationInfos.addAll(ExampleModel.createExampleSuperModelWithOneRpcPort(HOSTNAME, PORT).getAllApplicationInfos());
return applicationInfos;
}