Skip to content

Commit 6517d70

Browse files
authored
Add inference YAML tests to rest-resources-zip (#130070) (#130105)
(cherry picked from commit 21180df)
1 parent 4570ddb commit 6517d70

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

x-pack/plugin/inference/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,3 +406,7 @@ tasks.named("thirdPartyAudit").configure {
406406
tasks.named('yamlRestTest') {
407407
usesDefaultDistribution("Uses the inference API")
408408
}
409+
410+
artifacts {
411+
restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
412+
}

x-pack/rest-resources-zip/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ dependencies {
2727
platinumTests project(path: ':x-pack:plugin', configuration: 'restXpackTests')
2828
platinumTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restXpackTests')
2929
platinumTests project(path: ':x-pack:plugin:ent-search', configuration: 'restXpackTests')
30+
platinumTests project(path: ':x-pack:plugin:inference', configuration: 'restXpackTests')
3031
platinumCompatTests project(path: ':x-pack:plugin', configuration: 'restCompatTests')
3132
platinumCompatTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restCompatTests')
3233
}

0 commit comments

Comments
 (0)