Skip rest tests that use mutiple types in pure 6.x clusters (#24965)
This change skips rest tests that use mutlitple types if the cluster is a pure 6.x cluster. This allows all indics to be created with a version less than 6.0 and that means we can safely use the `mapping.single_type` setting. Relates to #24961
This commit is contained in:
parent
8e15186293
commit
d57641a747
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
"Exists type":
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
|
|
|
@ -23,8 +23,8 @@ setup:
|
|||
"Get /_mapping":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping: {}
|
||||
|
@ -38,8 +38,8 @@ setup:
|
|||
"Get /{index}/_mapping":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -54,8 +54,8 @@ setup:
|
|||
"Get /{index}/_mapping/_all":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -70,8 +70,8 @@ setup:
|
|||
"Get /{index}/_mapping/*":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -86,8 +86,8 @@ setup:
|
|||
"Get /{index}/_mapping/{type}":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -102,8 +102,8 @@ setup:
|
|||
"Get /{index}/_mapping/{type,type}":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -118,8 +118,8 @@ setup:
|
|||
"Get /{index}/_mapping/{type*}":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -134,8 +134,8 @@ setup:
|
|||
"Get /_mapping/{type}":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -150,8 +150,8 @@ setup:
|
|||
"Get /_all/_mapping/{type}":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -167,8 +167,8 @@ setup:
|
|||
"Get /*/_mapping/{type}":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -184,8 +184,8 @@ setup:
|
|||
"Get /index,index/_mapping/{type}":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
@ -200,8 +200,8 @@ setup:
|
|||
"Get /index*/_mapping/{type}":
|
||||
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
"IDs":
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
|
|
|
@ -15,9 +15,8 @@ setup:
|
|||
---
|
||||
"Nested inner hits":
|
||||
- skip:
|
||||
version: " - 5.99.99"
|
||||
reason: mapping.single_type was added in 6.0
|
||||
|
||||
version: "5.99.99 - "# this will only run in a mixed cluster environment with at least 1 5.x node
|
||||
reason: mapping.single_type can not be changed on 6.x indices onwards
|
||||
- do:
|
||||
index:
|
||||
index: test
|
||||
|
|
Loading…
Reference in New Issue