Skip to content

Commit 35a8c5d

Browse files
authored
Add streams YAML tests to rest-resources-zip (#134869) (#135192)
* Add streams YAML tests to restResourcesZip * Rename basicRestSpecs to restTests (cherry picked from commit 78858be) # Conflicts: # x-pack/qa/multi-project/core-rest-tests-with-multiple-projects/build.gradle
1 parent 39f25a5 commit 35a8c5d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

modules/streams/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ restResources {
2525
}
2626

2727
configurations {
28-
basicRestSpecs {
28+
restTests {
2929
attributes {
3030
attribute(ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE, ArtifactTypeDefinition.DIRECTORY_TYPE)
3131
}
3232
}
3333
}
3434

3535
artifacts {
36-
basicRestSpecs(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
36+
restTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
3737
}
3838

3939
dependencies {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ dependencies {
2222
freeTests project(path: ':modules:analysis-common', configuration: 'restTests')
2323
freeTests project(path: ':modules:data-streams', configuration: 'restTests')
2424
freeTests project(path: ':modules:ingest-geoip', configuration: 'restTests')
25+
freeTests project(path: ':modules:streams', configuration: 'restTests')
2526
compatApis project(path: ':rest-api-spec', configuration: 'restCompatSpecs')
2627
compatApis project(path: ':x-pack:plugin', configuration: 'restCompatSpecs')
2728
freeCompatTests project(path: ':rest-api-spec', configuration: 'restCompatTests')

0 commit comments

Comments
 (0)