diff --git a/server/src/test/java/org/opensearch/search/aggregations/bucket/terms/TermsAggregatorTests.java b/server/src/test/java/org/opensearch/search/aggregations/bucket/terms/TermsAggregatorTests.java index 51dc53bba4f02..91fc3b54faa3f 100644 --- a/server/src/test/java/org/opensearch/search/aggregations/bucket/terms/TermsAggregatorTests.java +++ b/server/src/test/java/org/opensearch/search/aggregations/bucket/terms/TermsAggregatorTests.java @@ -291,7 +291,7 @@ public void testSimpleAggregationWithStoredValues() throws Exception { testSimple((document, field, value) -> { document.add(new SortedSetDocValuesField(field, new BytesRef(value))); document.add(new StringField(field, value, Field.Store.NO)); - }, NOOP_POST_COLLECTION_CONSUMER); + }, NOOP_POST_COLLECTION); } @@ -371,7 +371,7 @@ public void testStringIncludeExcludeWithStoredValues() throws Exception { testStringIncludeExclude((document, field, value) -> { document.add(new SortedSetDocValuesField(field, new BytesRef(value))); document.add(new StringField(field, value, Field.Store.NO)); - }, NOOP_POST_COLLECTION_CONSUMER); + }, NOOP_POST_COLLECTION); } private void testStringIncludeExclude(TriConsumer addField, Consumer postCollectionConsumer)