From 2b2c0699b2670c61552ac83e78e95a90f5e31ed8 Mon Sep 17 00:00:00 2001 From: Owais Date: Wed, 13 Nov 2024 13:20:33 -0800 Subject: [PATCH] Removed explicit exception Signed-off-by: Owais --- .../neuralsearch/search/query/HybridCollectorManagerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opensearch/neuralsearch/search/query/HybridCollectorManagerTests.java b/src/test/java/org/opensearch/neuralsearch/search/query/HybridCollectorManagerTests.java index 96fcb2659..24ebebe5b 100644 --- a/src/test/java/org/opensearch/neuralsearch/search/query/HybridCollectorManagerTests.java +++ b/src/test/java/org/opensearch/neuralsearch/search/query/HybridCollectorManagerTests.java @@ -498,7 +498,7 @@ public void testReduce_whenMatchedDocsAndSortingIsApplied_thenSuccessful() { } @SneakyThrows - public void testReduceWithConcurrentSegmentSearch_whenMultipleCollectorsMatchedDocs_thenSuccessful() throws IOException { + public void testReduceWithConcurrentSegmentSearch_whenMultipleCollectorsMatchedDocs_thenSuccessful() { SearchContext searchContext = mock(SearchContext.class); QueryShardContext mockQueryShardContext = mock(QueryShardContext.class); TextFieldMapper.TextFieldType fieldType = (TextFieldMapper.TextFieldType) createMapperService().fieldType(TEXT_FIELD_NAME);