diff --git a/muted-tests.yml b/muted-tests.yml index 56ea32132bac7..e97ce4b62ca96 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -417,9 +417,6 @@ tests: - class: org.elasticsearch.xpack.inference.integration.AuthorizationTaskExecutorIT method: testCreatesChatCompletion_AndThenCreatesTextEmbedding issue: https://github.com/elastic/elasticsearch/issues/138012 -- class: org.elasticsearch.index.mapper.DateFieldMapperTests - method: testSortShortcuts - issue: https://github.com/elastic/elasticsearch/issues/138018 - class: org.elasticsearch.xpack.ml.integration.ForecastIT method: testOverflowToDisk issue: https://github.com/elastic/elasticsearch/issues/138055 diff --git a/server/src/test/java/org/elasticsearch/index/mapper/DateFieldMapperTests.java b/server/src/test/java/org/elasticsearch/index/mapper/DateFieldMapperTests.java index 9d5c88b10ee7d..b6fed65c7643c 100644 --- a/server/src/test/java/org/elasticsearch/index/mapper/DateFieldMapperTests.java +++ b/server/src/test/java/org/elasticsearch/index/mapper/DateFieldMapperTests.java @@ -16,7 +16,6 @@ import org.apache.lucene.index.IndexWriterConfig; import org.apache.lucene.index.IndexableField; import org.apache.lucene.index.LeafReaderContext; -import org.apache.lucene.search.DocIdSetIterator; import org.apache.lucene.search.Sort; import org.apache.lucene.search.SortField; import org.apache.lucene.store.Directory; @@ -35,7 +34,6 @@ import org.elasticsearch.index.codec.tsdb.es819.ES819TSDBDocValuesFormat; import org.elasticsearch.index.mapper.DateFieldMapper.DateFieldType; import org.elasticsearch.index.mapper.blockloader.docvalues.LongsBlockLoader; -import org.elasticsearch.lucene.comparators.XUpdateableDocIdSetIterator; import org.elasticsearch.script.DateFieldScript; import org.elasticsearch.script.ScriptService; import org.elasticsearch.search.DocValueFormat; @@ -51,7 +49,6 @@ import java.time.ZonedDateTime; import java.util.Comparator; import java.util.List; -import java.util.function.Consumer; import java.util.stream.IntStream; import java.util.stream.Stream; @@ -919,12 +916,6 @@ public void testSingletonLongBulkBlockReadingManyValues() throws Exception { } } - private static final Consumer checkClass = disi -> { - assertThat(disi, instanceOf(XUpdateableDocIdSetIterator.class)); - XUpdateableDocIdSetIterator iterator = (XUpdateableDocIdSetIterator) disi; - assertThat(iterator.getDelegate().getClass().getName(), containsString("SecondarySortIterator")); - }; - @Override protected List getSortShortcutSupport() { return List.of(