Skip to content

Commit 0bd75bf

Browse files
committed
Test method names corrected
Signed-off-by: Siddharth Rayabharam <[email protected]>
1 parent 521939a commit 0bd75bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/test/java/org/opensearch/search/aggregations/metrics/CardinalityAggregatorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ public void testDirectExecutionHintWithNumericDocValues() throws IOException {
571571
}, fieldType);
572572
}
573573

574-
public void testOrdinalExecutionHintWithNumericDocValues() throws IOException {
574+
public void testOrdinalsExecutionHintWithNumericDocValues() throws IOException {
575575
MappedFieldType fieldType = new NumberFieldMapper.NumberFieldType("number", NumberFieldMapper.NumberType.LONG);
576576
final CardinalityAggregationBuilder aggregationBuilder = new CardinalityAggregationBuilder("_name").field("number").executionHint("ordinals");
577577
testAggregationExecutionHint(aggregationBuilder, new MatchAllDocsQuery(), iw -> {
@@ -612,7 +612,7 @@ public void testDirectExecutionHintWithByteValues() throws IOException {
612612
}, fieldType);
613613
}
614614

615-
public void testOrdinalExecutionHintWithByteValues() throws IOException {
615+
public void testOrdinalsExecutionHintWithByteValues() throws IOException {
616616
MappedFieldType fieldType = new KeywordFieldMapper.KeywordFieldType("field");
617617
final CardinalityAggregationBuilder aggregationBuilder = new CardinalityAggregationBuilder("_name").field("field").executionHint("ordinals");
618618
testAggregationExecutionHint(aggregationBuilder, new MatchAllDocsQuery(), iw -> {

0 commit comments

Comments
 (0)