aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor/src/test/java/com/yahoo/vespa/service/health/StateV1HealthMonitorTest.java
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@yahooinc.com>2021-09-29 13:08:14 +0200
committerHåkon Hallingstad <hakon@yahooinc.com>2021-09-29 13:08:14 +0200
commitf511d41d6b722767e5ab90c707b900a4aac49a38 (patch)
tree40611f0e8ecebbcde897a0cc93fffa47aed92866 /service-monitor/src/test/java/com/yahoo/vespa/service/health/StateV1HealthMonitorTest.java
parent203ec4b47528c648d287af24636ea60f323c9ae9 (diff)
Remove use-unknown-service-status flag
Diffstat (limited to 'service-monitor/src/test/java/com/yahoo/vespa/service/health/StateV1HealthMonitorTest.java')
-rw-r--r--service-monitor/src/test/java/com/yahoo/vespa/service/health/StateV1HealthMonitorTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-monitor/src/test/java/com/yahoo/vespa/service/health/StateV1HealthMonitorTest.java b/service-monitor/src/test/java/com/yahoo/vespa/service/health/StateV1HealthMonitorTest.java
index 98b89422e42..a6352c64ded 100644
--- a/service-monitor/src/test/java/com/yahoo/vespa/service/health/StateV1HealthMonitorTest.java
+++ b/service-monitor/src/test/java/com/yahoo/vespa/service/health/StateV1HealthMonitorTest.java
@@ -17,7 +17,7 @@ public class StateV1HealthMonitorTest {
public void downThenUpThenDown() throws Exception {
StateV1HealthClient client = mock(StateV1HealthClient.class);
- StateV1HealthUpdater updater = new StateV1HealthUpdater("https://foo/state/v1/health", client, true);
+ StateV1HealthUpdater updater = new StateV1HealthUpdater("https://foo/state/v1/health", client);
RunletExecutor executor = new RunletExecutorImpl(2);
try (StateV1HealthMonitor monitor = new StateV1HealthMonitor(updater, executor, Duration.ofMillis(10))) {
assertEquals(ServiceStatus.UNKNOWN, monitor.getStatus().serviceStatus());