diff options
Diffstat (limited to 'clustercontroller-standalone/src/test/java/com/yahoo/vespa/clustercontroller/standalone/ClusterControllerConfigFetcherTest.java')
-rw-r--r-- | clustercontroller-standalone/src/test/java/com/yahoo/vespa/clustercontroller/standalone/ClusterControllerConfigFetcherTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clustercontroller-standalone/src/test/java/com/yahoo/vespa/clustercontroller/standalone/ClusterControllerConfigFetcherTest.java b/clustercontroller-standalone/src/test/java/com/yahoo/vespa/clustercontroller/standalone/ClusterControllerConfigFetcherTest.java index 15af9bd2c8c..1a1fe9603bf 100644 --- a/clustercontroller-standalone/src/test/java/com/yahoo/vespa/clustercontroller/standalone/ClusterControllerConfigFetcherTest.java +++ b/clustercontroller-standalone/src/test/java/com/yahoo/vespa/clustercontroller/standalone/ClusterControllerConfigFetcherTest.java @@ -1,7 +1,14 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.clustercontroller.standalone; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.fail; + public class ClusterControllerConfigFetcherTest extends ClusterControllerTest { + + @Test public void testSimple() throws Exception { setFleetControllerConfigProperty(); setSlobrokConfigProperty(); @@ -16,6 +23,7 @@ public class ClusterControllerConfigFetcherTest extends ClusterControllerTest { configFetcher.close(); } + @Test public void testInitialConfigFailure() throws Exception { setFleetControllerConfigProperty(); setSlobrokConfigProperty(); @@ -35,6 +43,7 @@ public class ClusterControllerConfigFetcherTest extends ClusterControllerTest { } } + @Test public void testConfigUpdate() throws Exception { setFleetControllerConfigProperty(); setSlobrokConfigProperty(); @@ -49,4 +58,5 @@ public class ClusterControllerConfigFetcherTest extends ClusterControllerTest { }; configFetcher.updated(1000); } + } |