elasticsearch/x-pack/qa/core-rest-tests-with-security/build.gradle

36 lines
1.1 KiB
Groovy

apply plugin: 'elasticsearch.internal-yaml-rest-test'
import org.elasticsearch.gradle.internal.info.BuildParams
dependencies {
testImplementation project(':x-pack:qa')
clusterModules project(':modules:mapper-extras')
clusterModules project(':modules:rank-eval')
clusterModules project(':modules:ingest-common')
clusterModules project(':modules:reindex')
clusterModules project(':modules:analysis-common')
clusterModules project(xpackModule('stack'))
clusterModules project(xpackModule('ilm'))
clusterModules project(xpackModule('mapper-constant-keyword'))
clusterModules project(xpackModule('wildcard'))
}
restResources {
restTests {
includeCore '*'
}
}
tasks.named("yamlRestTest").configure {
ArrayList<String> blacklist = [
'index/10_with_id/Index with ID',
'indices.get_alias/10_basic/Get alias against closed indices'
];
if (BuildParams.isSnapshotBuild() == false) {
blacklist += [
'synonyms_privileges/10_synonyms_with_privileges/*',
'synonyms_privileges/20_synonyms_no_privileges/*'
];
}
systemProperty 'tests.rest.blacklist', blacklist.join(',')
}