Skip to content

Commit 64f3123

Browse files
Extend the version range to run flat-object field REST Yaml test on 2.7.0 (#7081) (#7083)
(cherry picked from commit 312bc82) Signed-off-by: Mingshi Liu <mingshl@amazon.com>
1 parent ed6141f commit 64f3123

File tree

2 files changed

+4
-4
lines changed
  • modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless
  • rest-api-spec/src/main/resources/rest-api-spec/test/index

2 files changed

+4
-4
lines changed

modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/30_search.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@
487487

488488
"Flat-object fields from within the scripting":
489489
- skip:
490-
version: " - 2.99.99"
491-
reason: "flat_object is introduced in 3.0.0 in main branch"
490+
version: " - 2.6.99"
491+
reason: "flat_object is introduced in 2.7.0"
492492

493493
- do:
494494
indices.create:

rest-api-spec/src/main/resources/rest-api-spec/test/index/90_flat_object.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ teardown:
8080
# and no dynamic fields were created.
8181
"Mappings":
8282
- skip:
83-
version: " - 2.99.99"
84-
reason: "flat_object is introduced in 3.0.0 in main branch"
83+
version: " - 2.6.99"
84+
reason: "flat_object is introduced in 2.7.0"
8585

8686
- do:
8787
indices.get_mapping:

0 commit comments

Comments
 (0)