2019-07-01 03:38:56 -04:00
|
|
|
apply plugin: 'elasticsearch.testclusters'
|
2017-01-04 14:27:53 -05:00
|
|
|
apply plugin: 'elasticsearch.standalone-rest-test'
|
2015-11-24 03:45:06 -05:00
|
|
|
apply plugin: 'elasticsearch.rest-test'
|
|
|
|
|
|
|
|
dependencies {
|
2019-04-15 13:14:43 -04:00
|
|
|
testCompile project(':x-pack:qa')
|
2015-11-24 03:45:06 -05:00
|
|
|
}
|
|
|
|
|
2020-02-26 09:13:41 -05:00
|
|
|
restResources {
|
|
|
|
restTests {
|
|
|
|
includeCore '*'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-24 03:45:06 -05:00
|
|
|
integTest {
|
2019-07-01 03:38:56 -04:00
|
|
|
runner {
|
|
|
|
systemProperty 'tests.rest.blacklist',
|
2019-11-14 06:01:23 -05:00
|
|
|
[
|
|
|
|
'index/10_with_id/Index with ID',
|
|
|
|
'indices.get_alias/10_basic/Get alias against closed indices'
|
|
|
|
].join(',')
|
2019-06-24 19:16:29 -04:00
|
|
|
|
2019-07-01 03:38:56 -04:00
|
|
|
systemProperty 'tests.rest.cluster.username', System.getProperty('tests.rest.cluster.username', 'test_user')
|
|
|
|
systemProperty 'tests.rest.cluster.password', System.getProperty('tests.rest.cluster.password', 'x-pack-test-password')
|
|
|
|
}
|
2017-02-22 03:56:52 -05:00
|
|
|
}
|
2015-11-24 03:45:06 -05:00
|
|
|
|
2019-07-01 03:38:56 -04:00
|
|
|
testClusters.integTest {
|
2019-07-15 20:53:05 -04:00
|
|
|
testDistribution = 'DEFAULT'
|
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-02-22 03:56:52 -05:00
|
|
|
setting 'xpack.watcher.enabled', 'false'
|
|
|
|
setting 'xpack.monitoring.enabled', 'false'
|
2017-03-02 12:01:05 -05:00
|
|
|
setting 'xpack.ml.enabled', 'false'
|
2018-03-20 14:21:07 -04:00
|
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
2019-07-01 03:38:56 -04:00
|
|
|
|
|
|
|
user username: System.getProperty('tests.rest.cluster.username', 'test_user'),
|
2019-11-14 06:01:23 -05:00
|
|
|
password: System.getProperty('tests.rest.cluster.password', 'x-pack-test-password')
|
2015-11-24 03:45:06 -05:00
|
|
|
}
|