20 lines
828 B
Groovy
20 lines
828 B
Groovy
apply plugin: 'elasticsearch.java-rest-test'
|
|
|
|
dependencies {
|
|
javaRestTestImplementation project(path: xpackModule('core'), configuration: 'testArtifacts')
|
|
javaRestTestImplementation project(xpackModule('async-search'))
|
|
javaRestTestImplementation project(':x-pack:plugin:async-search:qa')
|
|
}
|
|
|
|
testClusters.all {
|
|
testDistribution = 'DEFAULT'
|
|
numberOfNodes = 2
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
|
setting 'xpack.security.enabled', 'true'
|
|
extraConfigFile 'roles.yml', file('roles.yml')
|
|
user username: "test-admin", password: 'x-pack-test-password', role: "test-admin"
|
|
user username: "user1", password: 'x-pack-test-password', role: "user1"
|
|
user username: "user2", password: 'x-pack-test-password', role: "user2"
|
|
user username: "user_dls", password: 'x-pack-test-password', role: "user_dls"
|
|
}
|