File tree 1 file changed +1
-2
lines changed
test/framework/src/main/java/org/elasticsearch/search/aggregations 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -605,7 +605,6 @@ protected AggregationBuilder createAggBuilderForTypeTest(MappedFieldType fieldTy
605
605
*
606
606
* Exception types/messages are not currently checked, just presence/absence of an exception.
607
607
*/
608
- @ AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/52681" )
609
608
public void testSupportedFieldTypes () throws IOException {
610
609
MapperRegistry mapperRegistry = new IndicesModule (Collections .emptyList ()).getMapperRegistry ();
611
610
Settings settings = Settings .builder ().put ("index.version.created" , Version .CURRENT .id ).build ();
@@ -647,7 +646,7 @@ public void testSupportedFieldTypes() throws IOException {
647
646
indexWriter .close ();
648
647
649
648
try (IndexReader indexReader = DirectoryReader .open (directory )) {
650
- IndexSearcher indexSearcher = newSearcher (indexReader , true , true );
649
+ IndexSearcher indexSearcher = newIndexSearcher (indexReader );
651
650
AggregationBuilder aggregationBuilder = createAggBuilderForTypeTest (fieldType , fieldName );
652
651
653
652
// TODO in the future we can make this more explicit with expectThrows(), when the exceptions are standardized
You can’t perform that action at this time.
0 commit comments