Skip to content

Commit

Permalink
Fixed assertion failure for unit test
Browse files Browse the repository at this point in the history
Signed-off-by: expani <[email protected]>
  • Loading branch information
expani committed Jan 2, 2025
1 parent b3c736b commit a2f8d87
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import org.opensearch.index.mapper.MappedFieldType;
import org.opensearch.index.mapper.MapperService;
import org.opensearch.index.mapper.NumberFieldMapper;
import org.opensearch.index.query.MatchAllQueryBuilder;
import org.opensearch.index.query.QueryBuilder;
import org.opensearch.index.query.QueryShardContext;
import org.opensearch.index.query.TermQueryBuilder;
Expand Down Expand Up @@ -285,6 +286,7 @@ public void testStarTreeDocValues() throws IOException {

// Test that feature parity is maintained for unmapped field names.
sumAggregationBuilder = new SumAggregationBuilder("sumaggs").field("hello");
queryBuilder = new MatchAllQueryBuilder();
testCase(
indexSearcher,
query,
Expand Down

0 comments on commit a2f8d87

Please sign in to comment.