[7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855)
For 1/2 the plugins in x-pack, the integTest
task is now a no-op and all of the tests are now executed via a test,
yamlRestTest, javaRestTest, or internalClusterTest.
This includes the following projects:
async-search, autoscaling, ccr, enrich, eql, frozen-indicies,
data-streams, graph, ilm, mapper-constant-keyword, mapper-flattened, ml
A few of the more specialized qa projects within these plugins
have not been changed with this PR due to additional complexity which should
be addressed separately.
A follow up PR will address the remaining x-pack plugins (this PR is big enough as-is).
related: #61802
related: #56841
related: #59939
related: #55896
2020-09-02 12:19:24 -04:00
|
|
|
apply plugin: 'elasticsearch.java-rest-test'
|
2019-06-24 11:39:59 -04:00
|
|
|
|
|
|
|
dependencies {
|
[7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855)
For 1/2 the plugins in x-pack, the integTest
task is now a no-op and all of the tests are now executed via a test,
yamlRestTest, javaRestTest, or internalClusterTest.
This includes the following projects:
async-search, autoscaling, ccr, enrich, eql, frozen-indicies,
data-streams, graph, ilm, mapper-constant-keyword, mapper-flattened, ml
A few of the more specialized qa projects within these plugins
have not been changed with this PR due to additional complexity which should
be addressed separately.
A follow up PR will address the remaining x-pack plugins (this PR is big enough as-is).
related: #61802
related: #56841
related: #59939
related: #55896
2020-09-02 12:19:24 -04:00
|
|
|
javaRestTestImplementation project(path: xpackModule('core'))
|
|
|
|
javaRestTestImplementation project(path: xpackModule('enrich:qa:common'))
|
2019-11-14 06:01:23 -05:00
|
|
|
}
|
2019-06-24 11:39:59 -04:00
|
|
|
|
[7.x] Convert first 1/2 x-pack plugins from integTest to [yaml | java]RestTest or internalClusterTest (#60630) (#61855)
For 1/2 the plugins in x-pack, the integTest
task is now a no-op and all of the tests are now executed via a test,
yamlRestTest, javaRestTest, or internalClusterTest.
This includes the following projects:
async-search, autoscaling, ccr, enrich, eql, frozen-indicies,
data-streams, graph, ilm, mapper-constant-keyword, mapper-flattened, ml
A few of the more specialized qa projects within these plugins
have not been changed with this PR due to additional complexity which should
be addressed separately.
A follow up PR will address the remaining x-pack plugins (this PR is big enough as-is).
related: #61802
related: #56841
related: #59939
related: #55896
2020-09-02 12:19:24 -04:00
|
|
|
testClusters.all {
|
2019-11-14 06:01:23 -05:00
|
|
|
testDistribution = 'DEFAULT'
|
|
|
|
extraConfigFile 'roles.yml', file('roles.yml')
|
|
|
|
user username: "test_admin", password: "x-pack-test-password", role: "superuser"
|
|
|
|
user username: "test_enrich", password: "x-pack-test-password", role: "enrich_user,integ_test_role"
|
|
|
|
user username: "test_enrich_no_privs", password: "x-pack-test-password", role: "enrich_no_privs"
|
|
|
|
setting 'xpack.license.self_generated.type', 'basic'
|
|
|
|
setting 'xpack.security.enabled', 'true'
|
|
|
|
setting 'xpack.monitoring.collection.enabled', 'true'
|
2019-06-24 11:39:59 -04:00
|
|
|
}
|