From b0bfa6581344eb7da827e69faf7d654083505ec7 Mon Sep 17 00:00:00 2001 From: Luca Cavanna Date: Wed, 3 Apr 2024 15:43:51 +0200 Subject: [PATCH] iter --- .../search/fetch/subphase/FieldFetcherTests.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/src/test/java/org/elasticsearch/search/fetch/subphase/FieldFetcherTests.java b/server/src/test/java/org/elasticsearch/search/fetch/subphase/FieldFetcherTests.java index be36d72304bd0..569627d6f82b0 100644 --- a/server/src/test/java/org/elasticsearch/search/fetch/subphase/FieldFetcherTests.java +++ b/server/src/test/java/org/elasticsearch/search/fetch/subphase/FieldFetcherTests.java @@ -264,10 +264,8 @@ public void testMetadataFields() throws IOException { // several other metadata fields throw exceptions via their value fetchers when trying to get them for (String fieldname : List.of( - SeqNoFieldMapper.NAME, SourceFieldMapper.NAME, - FieldNamesFieldMapper.NAME, - NestedPathFieldMapper.name(IndexVersion.current()) + FieldNamesFieldMapper.NAME )) { expectThrows(UnsupportedOperationException.class, () -> fetchFields(mapperService, source, fieldname)); }