|
14 | 14 | import org.opensearch.action.search.SearchRequest; |
15 | 15 | import org.opensearch.action.search.SearchResponse; |
16 | 16 | import org.opensearch.action.support.ActionFilterChain; |
| 17 | +import org.opensearch.action.support.ActionRequestMetadata; |
17 | 18 | import org.opensearch.common.action.ActionFuture; |
18 | 19 | import org.opensearch.common.settings.Settings; |
19 | 20 | import org.opensearch.common.unit.TimeValue; |
@@ -98,7 +99,7 @@ public void testApplyWithoutUbiBlock() { |
98 | 99 |
|
99 | 100 | when(request.source()).thenReturn(searchSourceBuilder); |
100 | 101 |
|
101 | | - ubiActionFilter.apply(task, "ubi", request, listener, chain); |
| 102 | + ubiActionFilter.apply(task, "ubi", request, ActionRequestMetadata.empty(), listener, chain); |
102 | 103 |
|
103 | 104 | verify(client, never()).index(any(), any()); |
104 | 105 |
|
@@ -157,7 +158,7 @@ public void testApplyWithUbiBlockWithoutQueryId() { |
157 | 158 |
|
158 | 159 | when(request.source()).thenReturn(searchSourceBuilder); |
159 | 160 |
|
160 | | - ubiActionFilter.apply(task, "ubi", request, listener, chain); |
| 161 | + ubiActionFilter.apply(task, "ubi", request, ActionRequestMetadata.empty(), listener, chain); |
161 | 162 |
|
162 | 163 | verify(client, atMostOnce()).index(any(), any()); |
163 | 164 |
|
|
0 commit comments