summaryrefslogtreecommitdiffstats
path: root/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/internal/health/HealthMonitorManagerTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'service-monitor/src/test/java/com/yahoo/vespa/service/monitor/internal/health/HealthMonitorManagerTest.java')
-rw-r--r--service-monitor/src/test/java/com/yahoo/vespa/service/monitor/internal/health/HealthMonitorManagerTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/internal/health/HealthMonitorManagerTest.java b/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/internal/health/HealthMonitorManagerTest.java
index 97963393268..b9d25406f9b 100644
--- a/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/internal/health/HealthMonitorManagerTest.java
+++ b/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/internal/health/HealthMonitorManagerTest.java
@@ -16,7 +16,7 @@ import static org.junit.Assert.assertEquals;
public class HealthMonitorManagerTest {
@Test
public void addRemove() {
- ConfigserverConfig config = ConfigserverUtil.createExampleConfigserverConfig(true);
+ ConfigserverConfig config = ConfigserverUtil.createExampleConfigserverConfig();
HealthMonitorManager manager = new HealthMonitorManager(config);
ApplicationInfo applicationInfo = ConfigserverUtil.makeExampleConfigServer();
manager.applicationActivated(applicationInfo);
@@ -25,7 +25,7 @@ public class HealthMonitorManagerTest {
@Test
public void withNodeAdmin() {
- ConfigserverConfig config = ConfigserverUtil.createExampleConfigserverConfig(true);
+ ConfigserverConfig config = ConfigserverUtil.createExampleConfigserverConfig();
HealthMonitorManager manager = new HealthMonitorManager(config);
ServiceStatus status = manager.getStatus(
ZoneApplication.ZONE_APPLICATION_ID,
@@ -37,7 +37,7 @@ public class HealthMonitorManagerTest {
@Test
public void withHostAdmin() {
- ConfigserverConfig config = ConfigserverUtil.createExampleConfigserverConfig(false);
+ ConfigserverConfig config = ConfigserverUtil.createExampleConfigserverConfig(false, true);
HealthMonitorManager manager = new HealthMonitorManager(config);
ServiceStatus status = manager.getStatus(
ZoneApplication.ZONE_APPLICATION_ID,