2019-07-01 03:38:56 -04:00
|
|
|
apply plugin: 'elasticsearch.testclusters'
|
2017-10-13 10:05:59 -04:00
|
|
|
apply plugin: 'elasticsearch.standalone-rest-test'
|
|
|
|
apply plugin: 'elasticsearch.rest-test'
|
2017-10-12 09:19:17 -04:00
|
|
|
|
|
|
|
dependencies {
|
2019-04-15 13:14:43 -04:00
|
|
|
testCompile project(':x-pack:qa')
|
2017-10-12 09:19:17 -04:00
|
|
|
}
|
|
|
|
|
2019-07-01 03:38:56 -04:00
|
|
|
testClusters.integTest {
|
2019-07-15 20:53:05 -04:00
|
|
|
testDistribution = 'DEFAULT'
|
2019-07-01 03:38:56 -04:00
|
|
|
numberOfNodes = 2
|
2018-08-02 13:05:11 -04:00
|
|
|
setting 'xpack.ilm.enabled', 'false'
|
2018-03-21 23:09:44 -04:00
|
|
|
setting 'xpack.security.enabled', 'true'
|
2017-10-12 09:19:17 -04:00
|
|
|
setting 'xpack.watcher.enabled', 'false'
|
|
|
|
setting 'xpack.monitoring.enabled', 'false'
|
|
|
|
setting 'xpack.ml.enabled', 'false'
|
2018-05-03 12:33:08 -04:00
|
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
2019-07-01 03:38:56 -04:00
|
|
|
extraConfigFile 'roles.yml', file('roles.yml')
|
|
|
|
user username: "test-user", password: "x-pack-test-password", role: "test"
|
|
|
|
user username: "super-user", password: "x-pack-super-password"
|
2017-10-12 09:19:17 -04:00
|
|
|
}
|