diff --git a/x-pack/plugin/runtime-fields/qa/rest/build.gradle b/x-pack/plugin/runtime-fields/qa/rest/build.gradle index 3f53b5a179654..11cbce514a312 100644 --- a/x-pack/plugin/runtime-fields/qa/rest/build.gradle +++ b/x-pack/plugin/runtime-fields/qa/rest/build.gradle @@ -1,8 +1,13 @@ apply plugin: 'elasticsearch.yaml-rest-test' restResources { + restApi { + includeCore '*' + includeXpack 'async_search' + } restTests { includeCore '*' + includeXpack '*' } } @@ -13,6 +18,7 @@ testClusters.yamlRestTest { yamlRestTest { systemProperty 'tests.rest.suite', [ + 'async_search', 'search', 'search.aggregation', 'search.highlight', diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/async_search/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/async_search/10_basic.yml index 54c076d480b02..e10b85c1d6dea 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/async_search/10_basic.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/async_search/10_basic.yml @@ -6,6 +6,10 @@ body: settings: number_of_shards: "2" + mappings: + properties: + max: + type: long - do: indices.create: @@ -13,6 +17,10 @@ body: settings: number_of_shards: "1" + mappings: + properties: + max: + type: long - do: indices.create: @@ -20,6 +28,10 @@ body: settings: number_of_shards: "3" + mappings: + properties: + max: + type: long - do: index: