Add data-streams tests to restResourcesZip (#130424)
* Add data-streams tests to restResourcesZip * Rename to restTests
This commit is contained in:
parent
74fd66c1f1
commit
f99cf38585
|
@ -87,7 +87,7 @@ tasks.named("yamlRestCompatTestTransform").configure({ task ->
|
||||||
})
|
})
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
basicRestSpecs {
|
restTests {
|
||||||
attributes {
|
attributes {
|
||||||
attribute(ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE, ArtifactTypeDefinition.DIRECTORY_TYPE)
|
attribute(ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE, ArtifactTypeDefinition.DIRECTORY_TYPE)
|
||||||
}
|
}
|
||||||
|
@ -95,5 +95,5 @@ configurations {
|
||||||
}
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
basicRestSpecs(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
|
restTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test"))
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ dependencies {
|
||||||
clusterModules project(xpackModule('mapper-constant-keyword'))
|
clusterModules project(xpackModule('mapper-constant-keyword'))
|
||||||
clusterModules project(xpackModule('wildcard'))
|
clusterModules project(xpackModule('wildcard'))
|
||||||
clusterModules project(':test:external-modules:test-multi-project')
|
clusterModules project(':test:external-modules:test-multi-project')
|
||||||
restTestConfig project(path: ':modules:data-streams', configuration: "basicRestSpecs")
|
restTestConfig project(path: ':modules:data-streams', configuration: "restTests")
|
||||||
restTestConfig project(path: ':modules:ingest-common', configuration: "basicRestSpecs")
|
restTestConfig project(path: ':modules:ingest-common', configuration: "basicRestSpecs")
|
||||||
restTestConfig project(path: ':modules:reindex', configuration: "basicRestSpecs")
|
restTestConfig project(path: ':modules:reindex', configuration: "basicRestSpecs")
|
||||||
restTestConfig project(path: ':modules:streams', configuration: "basicRestSpecs")
|
restTestConfig project(path: ':modules:streams', configuration: "basicRestSpecs")
|
||||||
|
|
|
@ -20,6 +20,7 @@ dependencies {
|
||||||
freeTests project(path: ':rest-api-spec', configuration: 'restTests')
|
freeTests project(path: ':rest-api-spec', configuration: 'restTests')
|
||||||
freeTests project(path: ':modules:aggregations', configuration: 'restTests')
|
freeTests project(path: ':modules:aggregations', configuration: 'restTests')
|
||||||
freeTests project(path: ':modules:analysis-common', configuration: 'restTests')
|
freeTests project(path: ':modules:analysis-common', configuration: 'restTests')
|
||||||
|
freeTests project(path: ':modules:data-streams', configuration: 'restTests')
|
||||||
freeTests project(path: ':modules:ingest-geoip', configuration: 'restTests')
|
freeTests project(path: ':modules:ingest-geoip', configuration: 'restTests')
|
||||||
compatApis project(path: ':rest-api-spec', configuration: 'restCompatSpecs')
|
compatApis project(path: ':rest-api-spec', configuration: 'restCompatSpecs')
|
||||||
compatApis project(path: ':x-pack:plugin', configuration: 'restCompatSpecs')
|
compatApis project(path: ':x-pack:plugin', configuration: 'restCompatSpecs')
|
||||||
|
|
Loading…
Reference in New Issue