Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Apr 3, 2024
1 parent 3d39ece commit b0bfa65
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit b0bfa65

Please sign in to comment.