Skip to content

Commit b1f8f84

Browse files
polyfractalGurkan Kaymak
authored and
Gurkan Kaymak
committed
Remove yaml skips older than 7.0 (elastic#40183)
These are now obsolete in 8.0, and make adding new skips complicated. Also found some very old skips (5.4!)
1 parent bccd9e3 commit b1f8f84

File tree

135 files changed

+117
-564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+117
-564
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/bulk/10_basic.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"Array of objects":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75

86
- do:
97
bulk:
@@ -29,9 +27,7 @@
2927
---
3028
"Empty _id":
3129

32-
- skip:
33-
version: " - 6.99.99"
34-
reason: types are required in requests before 7.0.0
30+
3531

3632
- do:
3733
bulk:
@@ -65,9 +61,7 @@
6561
"empty action":
6662

6763
- skip:
68-
version: " - 6.99.99"
6964
features: headers
70-
reason: types are required in requests before 7.0.0
7165

7266
- do:
7367
catch: /Malformed action\/metadata line \[3\], expected FIELD_NAME but found \[END_OBJECT\]/

rest-api-spec/src/main/resources/rest-api-spec/test/bulk/20_list_of_strings.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"List of strings":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75
- do:
86
bulk:
97
refresh: true

rest-api-spec/src/main/resources/rest-api-spec/test/bulk/30_big_string.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"One big string":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75
- do:
86
bulk:
97
refresh: true

rest-api-spec/src/main/resources/rest-api-spec/test/bulk/40_source.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"Source filtering":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75
- do:
86
index:
97
refresh: true

rest-api-spec/src/main/resources/rest-api-spec/test/bulk/50_refresh.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"refresh=true immediately makes changes are visible in search":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75
- do:
86
bulk:
97
refresh: true
@@ -21,9 +19,7 @@
2119
---
2220
"refresh=empty string immediately makes changes are visible in search":
2321

24-
- skip:
25-
version: " - 6.99.99"
26-
reason: types are required in requests before 7.0.0
22+
2723
- do:
2824
bulk:
2925
refresh: ""
@@ -42,9 +38,7 @@
4238
---
4339
"refresh=wait_for waits until changes are visible in search":
4440

45-
- skip:
46-
version: " - 6.99.99"
47-
reason: types are required in requests before 7.0.0
41+
4842
- do:
4943
bulk:
5044
refresh: wait_for

rest-api-spec/src/main/resources/rest-api-spec/test/bulk/70_mix_typeless_typeful.yml

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
---
22
"bulk without types on an index that has types":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: Typeless APIs were introduced in 7.0.0
7-
84
- do:
95
indices.create: # not using include_type_name: false on purpose
106
include_type_name: true

rest-api-spec/src/main/resources/rest-api-spec/test/bulk/81_cas_with_types.yml

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
---
22
"Compare And Swap Sequence Numbers":
33

4-
- skip:
5-
version: " - 6.6.99"
6-
reason: cas operations with sequence numbers was added in 6.7
7-
84
- do:
95
index:
106
index: test_1

rest-api-spec/src/main/resources/rest-api-spec/test/cat.thread_pool/10_basic.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
---
22
"Test cat thread_pool output":
3-
- skip:
4-
version: " - 6.99.99"
5-
reason: this API was changed in a backwards-incompatible fashion in 7.0.0 so we need to skip in a mixed cluster
63

74
- do:
85
cat.thread_pool: {}

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yml

-3
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@
9494

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

10198
- do:
10299
indices.create:

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/10_basic.yml

-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77

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

1411
- do:
1512
cluster.state:

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/20_filtering.yml

-3
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ setup:
155155

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

162159
# Get the current cluster_uuid
163160
- do:

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.stats/10_basic.yml

-6
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232

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

3936
- do:
4037
cluster.stats: {}
@@ -69,9 +66,6 @@
6966

7067
---
7168
"get cluster stats returns discovery types":
72-
- skip:
73-
version: " - 6.99.99"
74-
reason: "discovery types are added for v7.0.0"
7569

7670
- do:
7771
cluster.stats: {}

rest-api-spec/src/main/resources/rest-api-spec/test/create/10_with_id.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
"Create with ID":
3-
- skip:
4-
version: " - 6.99.99"
5-
reason: types are required in requests before 7.0.0
3+
64
- do:
75
create:
86
index: test_1

rest-api-spec/src/main/resources/rest-api-spec/test/create/15_without_id.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
"Create without ID":
3-
- skip:
4-
version: " - 6.99.99"
5-
reason: types are required in requests before 7.0.0
3+
64
- do:
75
catch: param
86
create:

rest-api-spec/src/main/resources/rest-api-spec/test/create/35_external_version.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
"External version":
3-
- skip:
4-
version: " - 6.99.99"
5-
reason: types are required in requests before 7.0.0
3+
64
- do:
75
catch: bad_request
86
create:

rest-api-spec/src/main/resources/rest-api-spec/test/create/40_routing.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
"Routing":
3-
- skip:
4-
version: " - 6.99.99"
5-
reason: types are required in requests before 7.0.0
3+
64
- do:
75
indices.create:
86
index: test_1

rest-api-spec/src/main/resources/rest-api-spec/test/create/60_refresh.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
"Refresh":
3-
- skip:
4-
version: " - 6.99.99"
5-
reason: types are required in requests before 7.0.0
3+
64
- do:
75
indices.create:
86
index: test_1
@@ -44,9 +42,7 @@
4442

4543
---
4644
"When refresh url parameter is an empty string that means \"refresh immediately\"":
47-
- skip:
48-
version: " - 6.99.99"
49-
reason: types are required in requests before 7.0.0
45+
5046
- do:
5147
create:
5248
index: test_1
@@ -66,9 +62,7 @@
6662

6763
---
6864
"refresh=wait_for waits until changes are visible in search":
69-
- skip:
70-
version: " - 6.99.99"
71-
reason: types are required in requests before 7.0.0
65+
7266
- do:
7367
index:
7468
index: create_60_refresh_1

rest-api-spec/src/main/resources/rest-api-spec/test/create/70_nested.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
setup:
3-
- skip:
4-
version: " - 6.99.99"
5-
reason: types are required in requests before 7.0.0
3+
64
- do:
75
indices.create:
86
index: test_1
@@ -16,9 +14,7 @@ setup:
1614

1715
---
1816
"Indexing a doc with No. nested objects less or equal to index.mapping.nested_objects.limit should succeed":
19-
- skip:
20-
version: " - 6.99.99"
21-
reason: index.mapping.nested_objects setting has been added in 7.0.0
17+
2218
- do:
2319
create:
2420
index: test_1
@@ -29,9 +25,7 @@ setup:
2925

3026
---
3127
"Indexing a doc with No. nested objects more than index.mapping.nested_objects.limit should fail":
32-
- skip:
33-
version: " - 6.99.99"
34-
reason: index.mapping.nested_objects setting has been added in 7.0.0
28+
3529
- do:
3630
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\./
3731
create:

rest-api-spec/src/main/resources/rest-api-spec/test/create/71_nested_with_types.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ setup:
1515

1616
---
1717
"Indexing a doc with No. nested objects less or equal to index.mapping.nested_objects.limit should succeed":
18-
- skip:
19-
version: " - 6.99.99"
20-
reason: index.mapping.nested_objects setting has been added in 7.0.0
18+
2119
- do:
2220
create:
2321
index: test_1
@@ -29,9 +27,7 @@ setup:
2927

3028
---
3129
"Indexing a doc with No. nested objects more than index.mapping.nested_objects.limit should fail":
32-
- skip:
33-
version: " - 6.99.99"
34-
reason: index.mapping.nested_objects setting has been added in 7.0.0
30+
3531
- do:
3632
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\./
3733
create:

rest-api-spec/src/main/resources/rest-api-spec/test/delete/10_basic.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"Basic":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75

86
- do:
97
index:

rest-api-spec/src/main/resources/rest-api-spec/test/delete/11_shard_header.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"Delete check shard header":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75

86
- do:
97
indices.create:

rest-api-spec/src/main/resources/rest-api-spec/test/delete/12_result.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"Delete result field":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75

86
- do:
97
index:

rest-api-spec/src/main/resources/rest-api-spec/test/delete/20_cas.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"Internal version":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75

86
- do:
97
index:

rest-api-spec/src/main/resources/rest-api-spec/test/delete/25_external_version.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"External version":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75

86
- do:
97
index:

rest-api-spec/src/main/resources/rest-api-spec/test/delete/26_external_gte_version.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"External GTE version":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75

86
- do:
97
index:

rest-api-spec/src/main/resources/rest-api-spec/test/delete/30_routing.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
"Routing":
33

4-
- skip:
5-
version: " - 6.99.99"
6-
reason: types are required in requests before 7.0.0
4+
75

86
- do:
97
indices.create:

0 commit comments

Comments
 (0)