Skip to content

Commit e98d567

Browse files
committed
Test: update missing body tests to run against versions >= 5.5.0
This updates the missing body tests to run against versions >= 5.5.0 after backporting the change to the 5.x branch. See #23497
1 parent b6a2b8d commit e98d567

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"missing body":
6464

6565
- skip:
66-
version: " - 5.99.99"
67-
reason: NPE caused by missing body fixed in 6.0.0
66+
version: " - 5.4.99"
67+
reason: NPE caused by missing body fixed in 5.5.0
6868

6969
- do:
7070
catch: /request body is required/
@@ -76,8 +76,8 @@
7676
"empty action":
7777

7878
- skip:
79-
version: " - 5.99.99"
80-
reason: confusing exception messaged caused by empty object fixed in 6.0.0
79+
version: " - 5.4.99"
80+
reason: confusing exception messaged caused by empty object fixed in 5.5.0
8181

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"missing body":
33

44
- skip:
5-
version: " - 5.99.99"
6-
reason: NPE caused by missing body fixed in 6.0.0
5+
version: " - 5.4.99"
6+
reason: NPE caused by missing body fixed in 5.5.0
77

88
- do:
99
catch: /request body is required/

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
# this can't be bumped to 5.0.2 until snapshots are published
6868
- skip:
69-
version: " - 5.99.99"
69+
version: " - 5.0.3"
7070
reason: Fetching default group setting was buggy until 5.0.3
7171

7272
- do:
@@ -79,8 +79,8 @@
7979
"missing body":
8080

8181
- skip:
82-
version: " - 5.99.99"
83-
reason: NPE caused by missing body fixed in 6.0.0
82+
version: " - 5.4.99"
83+
reason: NPE caused by missing body fixed in 5.5.0
8484

8585
- do:
8686
catch: /request body is required/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"missing body":
3838

3939
- skip:
40-
version: " - 5.99.99"
41-
reason: NPE caused by missing body fixed in 6.0.0
40+
version: " - 5.4.99"
41+
reason: NPE caused by missing body fixed in 5.5.0
4242

4343
- do:
4444
catch: /request body is required/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
"missing body":
7373

7474
- skip:
75-
version: " - 5.99.99"
76-
reason: NPE caused by missing body fixed in 6.0.0
75+
version: " - 5.4.99"
76+
reason: NPE caused by missing body fixed in 5.5.0
7777

7878
- do:
7979
catch: /request body is required/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
"missing body":
216216

217217
- skip:
218-
version: " - 5.99.99"
219-
reason: NPE caused by missing body fixed in 6.0.0
218+
version: " - 5.4.99"
219+
reason: NPE caused by missing body fixed in 5.5.0
220220

221221
- do:
222222
catch: /request body is required/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ setup:
6666
"missing body":
6767

6868
- skip:
69-
version: " - 5.99.99"
70-
reason: NPE caused by missing body fixed in 6.0.0
69+
version: " - 5.4.99"
70+
reason: NPE caused by missing body fixed in 5.5.0
7171

7272
- do:
7373
catch: /request body or source parameter is required/

0 commit comments

Comments
 (0)