summaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-05-03 17:49:31 +0200
committerJon Bratseth <bratseth@gmail.com>2022-05-03 17:49:31 +0200
commitbc6befc9b62b32ed1c57cbfcf70dd198da9d59ac (patch)
treea30344e75a6b65cd4cf8f7bb393c13bae7a0b343 /container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java
parent9e4c738e9e994124d96cede78449d2d558d4977f (diff)
Use schemsa-info
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java')
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java b/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java
index 2d62e4c0154..434f4bcc8e0 100644
--- a/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java
@@ -522,6 +522,7 @@ public class ClusterSearcherTestCase {
DocumentdbInfoConfig.Builder documentDbConfig = new DocumentdbInfoConfig.Builder();
documentDbConfig.documentdb(new DocumentdbInfoConfig.Documentdb.Builder().name("type1"));
+ var schema = new Schema.Builder("type1");
DispatchConfig dispatchConfig = new DispatchConfig.Builder().build();
Dispatcher dispatcher = new Dispatcher(new RpcResourcePool(dispatchConfig),
@@ -537,6 +538,7 @@ public class ClusterSearcherTestCase {
qrSearchersConfig.build(),
clusterConfig.build(),
documentDbConfig.build(),
+ new SchemaInfo(List.of(schema.build()), Map.of()),
dispatchers,
vipStatus,
null);