Skip to content

Commit 72a8b9f

Browse files
authored
Add inference YAML tests to rest-resources-zip (#130070) (#130106)
(cherry picked from commit 21180df) # Conflicts: # x-pack/plugin/inference/build.gradle
1 parent 96e285d commit 72a8b9f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

x-pack/plugin/inference/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,3 +405,6 @@ tasks.named('yamlRestTest') {
405405
usesDefaultDistribution()
406406
}
407407

408+
artifacts {
409+
restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
410+
}

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)