Skip to content

Commit eaa05fe

Browse files
authored
[TEST] Minor updates to rest api spec tests (#34551)
1 parent 89dc07b commit eaa05fe

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868

6969
- skip:
7070
version: " - 6.99.99"
71+
features: headers
7172
reason: include_type_name was introduced in 7.0.0
7273

7374
- do:

rest-api-spec/src/main/resources/rest-api-spec/test/bulk/11_basic_with_types.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858

5959
---
6060
"empty action":
61+
- skip:
62+
features: headers
6163

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

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,9 +66,9 @@ setup:
6666
"Least impact smoke test":
6767
# only passing these parameters to make sure they are consumed
6868
- do:
69-
max_concurrent_shard_requests: 1
70-
max_concurrent_searches: 1
7169
msearch:
70+
max_concurrent_shard_requests: 1
71+
max_concurrent_searches: 1
7272
body:
7373
- index: index_*
7474
- query:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"tasks_list headers":
2323
- skip:
2424
version: " - 6.99.99"
25+
features: headers
2526
reason: task headers has been added in 7.0.0
2627

2728
- do:

0 commit comments

Comments
 (0)