forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert MalformedDynamicTemplateIT to unit test (elastic#119647)
Most of MalformedDynamicTemplateIT deals with ignoring unknown parameters in indices created previous to version 8. While we still need to check that we can parse those "bad" mappings, we no longer need to check that we can index into them since v7 indices are read-only. This change moves the check for leniency and the check for errors post-v8 to the DynamicTemplatesTests unit test.
- Loading branch information
Showing
2 changed files
with
38 additions
and
78 deletions.
There are no files selected for viewing
78 changes: 0 additions & 78 deletions
78
...nternalClusterTest/java/org/elasticsearch/indices/mapping/MalformedDynamicTemplateIT.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters