Skip to content

Commit ba8590b

Browse files
authored
Add analysis-common YAML tests to rest-resources-zip (#111974)
1 parent cf034c0 commit ba8590b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

modules/analysis-common/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,6 @@ tasks.named("yamlRestTestV7CompatTransform").configure { task ->
3636
task.skipTest("search.query/50_queries_with_synonyms/Test common terms query with stacked tokens", "#42654 - `common` query throws an exception")
3737
}
3838

39+
artifacts {
40+
restTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
41+
}
File renamed without changes.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies {
2020
apis project(path: ':rest-api-spec', configuration: 'restSpecs')
2121
freeTests project(path: ':rest-api-spec', configuration: 'restTests')
2222
freeTests project(path: ':modules:aggregations', configuration: 'restTests')
23+
freeTests project(path: ':modules:analysis-common', configuration: 'restTests')
2324
compatApis project(path: ':rest-api-spec', configuration: 'restCompatSpecs')
2425
compatApis project(path: ':x-pack:plugin', configuration: 'restCompatSpecs')
2526
freeCompatTests project(path: ':rest-api-spec', configuration: 'restCompatTests')

0 commit comments

Comments
 (0)