Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikep86 authored and kderusso committed Nov 25, 2024
1 parent 9c06b6e commit db02010
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1744,7 +1744,9 @@ protected void doWriteTo(StreamOutput out) throws IOException {
NodeClient client = new NodeClient(settings, threadPool);

SearchService searchService = mock(SearchService.class);
when(searchService.getRewriteContext(any(), any(), any())).thenReturn(new QueryRewriteContext(null, null, null, null, null));
when(searchService.getRewriteContext(any(), any(), any())).thenReturn(
new QueryRewriteContext(null, null, null, null, null, null)
);
ClusterService clusterService = new ClusterService(
settings,
new ClusterSettings(settings, ClusterSettings.BUILT_IN_CLUSTER_SETTINGS),
Expand Down

0 comments on commit db02010

Please sign in to comment.