Skip to content

Commit

Permalink
Remove yaml skips older than 7.0 (#40183)
Browse files Browse the repository at this point in the history
These are now obsolete in 8.0, and make adding new skips complicated.
Also found some very old skips (5.4!)
  • Loading branch information
polyfractal authored Apr 2, 2019
1 parent f5ff021 commit 6acdddc
Show file tree
Hide file tree
Showing 135 changed files with 117 additions and 564 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"Array of objects":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
bulk:
Expand All @@ -29,9 +27,7 @@
---
"Empty _id":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
bulk:
Expand Down Expand Up @@ -65,9 +61,7 @@
"empty action":

- skip:
version: " - 6.99.99"
features: headers
reason: types are required in requests before 7.0.0

- do:
catch: /Malformed action\/metadata line \[3\], expected FIELD_NAME but found \[END_OBJECT\]/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"List of strings":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
bulk:
refresh: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"One big string":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
bulk:
refresh: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"Source filtering":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
index:
refresh: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"refresh=true immediately makes changes are visible in search":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
bulk:
refresh: true
Expand All @@ -21,9 +19,7 @@
---
"refresh=empty string immediately makes changes are visible in search":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
bulk:
refresh: ""
Expand All @@ -42,9 +38,7 @@
---
"refresh=wait_for waits until changes are visible in search":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
bulk:
refresh: wait_for
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"bulk without types on an index that has types":

- skip:
version: " - 6.99.99"
reason: Typeless APIs were introduced in 7.0.0

- do:
indices.create: # not using include_type_name: false on purpose
include_type_name: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
"Compare And Swap Sequence Numbers":

- skip:
version: " - 6.6.99"
reason: cas operations with sequence numbers was added in 6.7

- do:
index:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
"Test cat thread_pool output":
- skip:
version: " - 6.99.99"
reason: this API was changed in a backwards-incompatible fashion in 7.0.0 so we need to skip in a mixed cluster

- do:
cat.thread_pool: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@

---
"cluster health basic test, one index with wait for no initializing shards":
- skip:
version: " - 6.1.99"
reason: "wait_for_no_initializing_shards is introduced in 6.2.0"

- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@

---
"get cluster state returns cluster_uuid at the top level":
- skip:
version: " - 6.3.99"
reason: "cluster state including cluster_uuid at the top level is new in v6.4.0 and higher"

- do:
cluster.state:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ setup:

---
"Filtering the cluster state returns cluster_uuid at the top level regardless of metric filters":
- skip:
version: " - 6.3.99"
reason: "cluster state including cluster_uuid at the top level is new in v6.4.0 and higher"

# Get the current cluster_uuid
- do:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@

---
"get cluster stats returns cluster_uuid at the top level":
- skip:
version: " - 6.99.99"
reason: "cluster stats including cluster_uuid at the top level is new in v6.5.0 and higher"

- do:
cluster.stats: {}
Expand Down Expand Up @@ -69,9 +66,6 @@

---
"get cluster stats returns discovery types":
- skip:
version: " - 6.99.99"
reason: "discovery types are added for v7.0.0"

- do:
cluster.stats: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"Create with ID":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
create:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"Create without ID":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
catch: param
create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"External version":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
catch: bad_request
create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"Routing":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
indices.create:
index: test_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
"Refresh":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
indices.create:
index: test_1
Expand Down Expand Up @@ -44,9 +42,7 @@

---
"When refresh url parameter is an empty string that means \"refresh immediately\"":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
create:
index: test_1
Expand All @@ -66,9 +62,7 @@

---
"refresh=wait_for waits until changes are visible in search":
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
index:
index: create_60_refresh_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
setup:
- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0

- do:
indices.create:
index: test_1
Expand All @@ -16,9 +14,7 @@ setup:

---
"Indexing a doc with No. nested objects less or equal to index.mapping.nested_objects.limit should succeed":
- skip:
version: " - 6.99.99"
reason: index.mapping.nested_objects setting has been added in 7.0.0

- do:
create:
index: test_1
Expand All @@ -29,9 +25,7 @@ setup:

---
"Indexing a doc with No. nested objects more than index.mapping.nested_objects.limit should fail":
- skip:
version: " - 6.99.99"
reason: index.mapping.nested_objects setting has been added in 7.0.0

- do:
catch: /The number of nested documents has exceeded the allowed limit of \[2\]. This limit can be set by changing the \[index.mapping.nested_objects.limit\] index level setting\./
create:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ setup:

---
"Indexing a doc with No. nested objects less or equal to index.mapping.nested_objects.limit should succeed":
- skip:
version: " - 6.99.99"
reason: index.mapping.nested_objects setting has been added in 7.0.0

- do:
create:
index: test_1
Expand All @@ -29,9 +27,7 @@ setup:

---
"Indexing a doc with No. nested objects more than index.mapping.nested_objects.limit should fail":
- skip:
version: " - 6.99.99"
reason: index.mapping.nested_objects setting has been added in 7.0.0

- do:
catch: /The number of nested documents has exceeded the allowed limit of \[2\]. This limit can be set by changing the \[index.mapping.nested_objects.limit\] index level setting\./
create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"Basic":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
index:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"Delete check shard header":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
indices.create:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"Delete result field":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
index:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"Internal version":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
index:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"External version":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
index:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"External GTE version":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
index:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
"Routing":

- skip:
version: " - 6.99.99"
reason: types are required in requests before 7.0.0


- do:
indices.create:
Expand Down
Loading

0 comments on commit 6acdddc

Please sign in to comment.