diff --git a/x-pack/plugin/inference/build.gradle b/x-pack/plugin/inference/build.gradle index 8d3ca3fbe57e5..6e672feeedde9 100644 --- a/x-pack/plugin/inference/build.gradle +++ b/x-pack/plugin/inference/build.gradle @@ -404,3 +404,6 @@ tasks.named('yamlRestTest') { usesDefaultDistribution() } +artifacts { + restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test")) +} diff --git a/x-pack/rest-resources-zip/build.gradle b/x-pack/rest-resources-zip/build.gradle index a613d91d8e9fe..6cc39aa168e91 100644 --- a/x-pack/rest-resources-zip/build.gradle +++ b/x-pack/rest-resources-zip/build.gradle @@ -27,6 +27,7 @@ dependencies { platinumTests project(path: ':x-pack:plugin', configuration: 'restXpackTests') platinumTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restXpackTests') platinumTests project(path: ':x-pack:plugin:ent-search', configuration: 'restXpackTests') + platinumTests project(path: ':x-pack:plugin:inference', configuration: 'restXpackTests') platinumCompatTests project(path: ':x-pack:plugin', configuration: 'restCompatTests') platinumCompatTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restCompatTests') }