Skip to content

Commit 6acdddc

Browse files
authored
Remove yaml skips older than 7.0 (#40183)
These are now obsolete in 8.0, and make adding new skips complicated. Also found some very old skips (5.4!)
1 parent f5ff021 commit 6acdddc

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

Lines changed: 2 additions & 8 deletions
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

Lines changed: 1 addition & 3 deletions
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

Lines changed: 1 addition & 3 deletions
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

Lines changed: 1 addition & 3 deletions
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

Lines changed: 3 additions & 9 deletions
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

Lines changed: 0 additions & 4 deletions
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

Lines changed: 0 additions & 4 deletions
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

Lines changed: 0 additions & 3 deletions
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

Lines changed: 0 additions & 3 deletions
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

Lines changed: 0 additions & 3 deletions
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:

0 commit comments

Comments
 (0)