2015-11-24 03:45:06 -05:00
|
|
|
apply plugin: 'elasticsearch.rest-test'
|
|
|
|
|
|
|
|
dependencies {
|
2015-11-25 18:28:45 -05:00
|
|
|
testCompile project(path: ':x-plugins:elasticsearch:x-pack', configuration: 'runtime')
|
2015-11-24 03:45:06 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
integTest {
|
|
|
|
includePackaged true
|
2015-12-03 14:56:12 -05:00
|
|
|
systemProperty 'tests.rest.blacklist',
|
2015-11-24 03:45:06 -05:00
|
|
|
['indices.get/10_basic/*allow_no_indices*',
|
|
|
|
'cat.count/10_basic/Test cat count output',
|
|
|
|
'cat.aliases/10_basic/Empty cluster',
|
|
|
|
'indices.segments/10_basic/no segments test',
|
|
|
|
'indices.clear_cache/10_basic/clear_cache test',
|
|
|
|
'indices.status/10_basic/Indices status test',
|
|
|
|
'cat.indices/10_basic/Test cat indices output',
|
|
|
|
'cat.recovery/10_basic/Test cat recovery output',
|
|
|
|
'cat.shards/10_basic/Test cat shards output',
|
|
|
|
'termvector/20_issue7121/*',
|
|
|
|
'index/10_with_id/Index with ID',
|
|
|
|
'indices.get_alias/20_emtpy/*',
|
|
|
|
'cat.segments/10_basic/Test cat segments output',
|
|
|
|
'indices.put_settings/10_basic/Test indices settings allow_no_indices',
|
|
|
|
'indices.put_settings/10_basic/Test indices settings ignore_unavailable',
|
|
|
|
'indices.refresh/10_basic/Indices refresh test no-match wildcard',
|
|
|
|
'indices.stats/10_index/Index - star*',
|
|
|
|
'indices.recovery/10_basic/Indices recovery test*',
|
|
|
|
'indices.shard_stores/10_basic/no indices test',
|
|
|
|
'cat.nodeattrs/10_basic/Test cat nodes attrs output',
|
2016-01-14 11:19:20 -05:00
|
|
|
'bulk/40_fields/Fields',
|
2016-03-07 12:15:06 -05:00
|
|
|
'indices.get_alias/10_basic/Get alias against closed indices',
|
2016-03-10 09:00:14 -05:00
|
|
|
'ingest/70_bulk/*',
|
2016-03-07 12:15:06 -05:00
|
|
|
'ingest/10_crud/Check availability of default processors'].join(',')
|
2015-11-24 03:45:06 -05:00
|
|
|
|
|
|
|
cluster {
|
2015-11-25 18:28:45 -05:00
|
|
|
plugin 'x-pack', project(':x-plugins:elasticsearch:x-pack')
|
2016-03-15 20:01:01 -04:00
|
|
|
setting 'xpack.watcher.enabled', 'false'
|
|
|
|
setting 'xpack.monitoring.enabled', 'false'
|
2015-11-24 03:45:06 -05:00
|
|
|
setupCommand 'setupDummyUser',
|
2016-02-10 09:42:59 -05:00
|
|
|
'bin/x-pack/users', 'useradd', 'test_user', '-p', 'changeme', '-r', 'superuser'
|
2015-11-24 03:45:06 -05:00
|
|
|
waitCondition = { node, ant ->
|
|
|
|
File tmpFile = new File(node.cwd, 'wait.success')
|
2015-12-11 21:23:01 -05:00
|
|
|
ant.get(src: "http://${node.httpUri()}",
|
2015-11-24 03:45:06 -05:00
|
|
|
dest: tmpFile.toString(),
|
|
|
|
username: 'test_user',
|
|
|
|
password: 'changeme',
|
2015-11-24 11:24:57 -05:00
|
|
|
ignoreerrors: true,
|
|
|
|
retries: 10)
|
2015-11-24 03:45:06 -05:00
|
|
|
return tmpFile.exists()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|