瀏覽代碼

[TEST] Minor updates to rest api spec tests (#34551)

Emily S 7 年之前
父節點
當前提交
eaa05fe762

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

@@ -68,6 +68,7 @@
 
   - skip:
       version: " - 6.99.99"
+      features: headers
       reason:  include_type_name was introduced in 7.0.0
 
   - do:

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

@@ -58,6 +58,8 @@
 
 ---
 "empty action":
+  - skip:
+      features: headers
 
   - do:
       catch: /Malformed action\/metadata line \[3\], expected FIELD_NAME but found \[END_OBJECT\]/

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

@@ -66,9 +66,9 @@ setup:
 "Least impact smoke test":
 # only passing these parameters to make sure they are consumed
   - do:
-      max_concurrent_shard_requests: 1
-      max_concurrent_searches: 1
       msearch:
+        max_concurrent_shard_requests: 1
+        max_concurrent_searches: 1
         body:
           - index: index_*
           - query:

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

@@ -22,6 +22,7 @@
 "tasks_list headers":
   - skip:
       version: " - 6.99.99"
+      features: headers
       reason:  task headers has been added in 7.0.0
 
   - do: