aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/search/dispatch
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2023-07-11 17:20:50 +0200
committerjonmv <venstad@gmail.com>2023-07-13 10:30:49 +0200
commit3f2f274b40d19354b78c3d3bec6b8c04c461d09c (patch)
tree043f9777fa8b90b6b39b6ebb5e267b6b434bce17 /container-search/src/test/java/com/yahoo/search/dispatch
parent9a81c2221bfd201e4614e5146aa58251db30c914 (diff)
Set up skeleton for replacing monitored groups and nodes
Diffstat (limited to 'container-search/src/test/java/com/yahoo/search/dispatch')
-rw-r--r--container-search/src/test/java/com/yahoo/search/dispatch/searchcluster/SearchClusterTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/dispatch/searchcluster/SearchClusterTest.java b/container-search/src/test/java/com/yahoo/search/dispatch/searchcluster/SearchClusterTest.java
index 51256ec496e..f0231e44bef 100644
--- a/container-search/src/test/java/com/yahoo/search/dispatch/searchcluster/SearchClusterTest.java
+++ b/container-search/src/test/java/com/yahoo/search/dispatch/searchcluster/SearchClusterTest.java
@@ -31,7 +31,7 @@ public class SearchClusterTest {
final int nodesPerGroup;
final VipStatus vipStatus;
final SearchCluster searchCluster;
- final ClusterMonitor clusterMonitor;
+ final ClusterMonitor<Node> clusterMonitor;
final List<AtomicInteger> numDocsPerNode;
List<AtomicInteger> pingCounts;
@@ -57,7 +57,7 @@ public class SearchClusterTest {
}
searchCluster = new SearchCluster(clusterId, 100.0, nodes,
vipStatus, new Factory(nodesPerGroup, numDocsPerNode, pingCounts));
- clusterMonitor = new ClusterMonitor(searchCluster, false);
+ clusterMonitor = new ClusterMonitor<>(searchCluster, false);
searchCluster.addMonitoring(clusterMonitor);
}