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