mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
[TEST] Fixed the incorrect indentation for the skip
clauses in the REST tests
This patch fixes the incorrect indentation in the REST tests, which makes tests in language runners (eg. Ruby, Python) to fail, since the skip clause is parsed as an empty value. Tha Java YAML parser is smarter/lenient about whitespace, so it doesn't catch this.
This commit is contained in:
parent
8741691511
commit
4f4b76cd41
@ -61,8 +61,8 @@
|
|||||||
---
|
---
|
||||||
"Test cat nodes output with full_id set":
|
"Test cat nodes output with full_id set":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.0.0"
|
version: " - 5.0.0"
|
||||||
reason: The full_id setting was rejected in 5.0.0 see #21266
|
reason: The full_id setting was rejected in 5.0.0 see #21266
|
||||||
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
@ -164,8 +164,8 @@ setup:
|
|||||||
---
|
---
|
||||||
"Geopoint field stats with level set to indices":
|
"Geopoint field stats with level set to indices":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.2.0"
|
version: " - 5.2.0"
|
||||||
reason: geo_point fields don't return min/max for versions greater than 5.2.0
|
reason: geo_point fields don't return min/max for versions greater than 5.2.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
field_stats:
|
field_stats:
|
||||||
|
@ -12,8 +12,8 @@ setup:
|
|||||||
"Get template":
|
"Get template":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.get_template:
|
indices.get_template:
|
||||||
@ -26,8 +26,8 @@ setup:
|
|||||||
"Get all templates":
|
"Get all templates":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
@ -47,8 +47,8 @@ setup:
|
|||||||
"Get template with local flag":
|
"Get template with local flag":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.get_template:
|
indices.get_template:
|
||||||
@ -61,8 +61,8 @@ setup:
|
|||||||
"Get template with flat settings and master timeout":
|
"Get template with flat settings and master timeout":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.get_template:
|
indices.get_template:
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"Put template":
|
"Put template":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
@ -26,8 +26,8 @@
|
|||||||
"Put multiple template":
|
"Put multiple template":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
@ -50,8 +50,8 @@
|
|||||||
"Put template with aliases":
|
"Put template with aliases":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
@ -78,8 +78,8 @@
|
|||||||
"Put template create":
|
"Put template create":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
@ -114,8 +114,8 @@
|
|||||||
"Test Put Versioned Template":
|
"Test Put Versioned Template":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.99.99"
|
version: " - 5.99.99"
|
||||||
reason: this uses a new API that has been added in 6.0
|
reason: this uses a new API that has been added in 6.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
---
|
---
|
||||||
"Upgrade indices ignore unavailable":
|
"Upgrade indices ignore unavailable":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.0.0"
|
version: " - 5.0.0"
|
||||||
reason: ignore_unavailable was added as a bugfix in 5.0.1 see #21281
|
reason: ignore_unavailable was added as a bugfix in 5.0.1 see #21281
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.create:
|
indices.create:
|
||||||
@ -44,8 +44,8 @@
|
|||||||
"Upgrade indices allow no indices":
|
"Upgrade indices allow no indices":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.0.0"
|
version: " - 5.0.0"
|
||||||
reason: ignore_unavailable was added as a bugfix in 5.0.1 see #21281
|
reason: ignore_unavailable was added as a bugfix in 5.0.1 see #21281
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.upgrade:
|
indices.upgrade:
|
||||||
@ -59,8 +59,8 @@
|
|||||||
"Upgrade indices disallow no indices":
|
"Upgrade indices disallow no indices":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.0.0"
|
version: " - 5.0.0"
|
||||||
reason: ignore_unavailable was added as a bugfix in 5.0.1 see #21281
|
reason: ignore_unavailable was added as a bugfix in 5.0.1 see #21281
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
catch: missing
|
catch: missing
|
||||||
@ -73,8 +73,8 @@
|
|||||||
"Upgrade indices disallow unavailable":
|
"Upgrade indices disallow unavailable":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.0.0"
|
version: " - 5.0.0"
|
||||||
reason: ignore_unavailable was added as a bugfix in 5.0.1 see #21281
|
reason: ignore_unavailable was added as a bugfix in 5.0.1 see #21281
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.create:
|
indices.create:
|
||||||
|
@ -288,8 +288,8 @@ setup:
|
|||||||
---
|
---
|
||||||
"Scaled float test":
|
"Scaled float test":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.2.0"
|
version: " - 5.2.0"
|
||||||
reason: scaled_float were considered as longs in aggregations, this was fixed in 5.2.0
|
reason: scaled_float were considered as longs in aggregations, this was fixed in 5.2.0
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
index:
|
index:
|
||||||
@ -409,8 +409,8 @@ setup:
|
|||||||
"Partitioned string test":
|
"Partitioned string test":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.1.99"
|
version: " - 5.1.99"
|
||||||
reason: Partitioning is a 5.2.0 feature
|
reason: Partitioning is a 5.2.0 feature
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
index:
|
index:
|
||||||
@ -468,8 +468,8 @@ setup:
|
|||||||
"Partitioned integer test":
|
"Partitioned integer test":
|
||||||
|
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.1.99"
|
version: " - 5.1.99"
|
||||||
reason: Partitioning is a 5.2.0 feature
|
reason: Partitioning is a 5.2.0 feature
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
index:
|
index:
|
||||||
|
@ -36,8 +36,8 @@ setup:
|
|||||||
---
|
---
|
||||||
"Filter aggs with terms lookup ensure not cached":
|
"Filter aggs with terms lookup ensure not cached":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.0.0"
|
version: " - 5.0.0"
|
||||||
reason: This using filter aggs that needs rewriting, this was fixed in 5.0.1
|
reason: This using filter aggs that needs rewriting, this was fixed in 5.0.1
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
search:
|
search:
|
||||||
|
@ -39,8 +39,8 @@ setup:
|
|||||||
---
|
---
|
||||||
"Filters aggs with wrapper query":
|
"Filters aggs with wrapper query":
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 5.1.1"
|
version: " - 5.1.1"
|
||||||
reason: Using filters aggs that needs rewriting, this was fixed in 5.1.2
|
reason: Using filters aggs that needs rewriting, this was fixed in 5.1.2
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
search:
|
search:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user