mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 22:45:04 +00:00
For 1/2 the plugins in x-pack, the integTest task is now a no-op and all of the tests are now executed via a test, yamlRestTest, javaRestTest, or internalClusterTest. This includes the following projects: async-search, autoscaling, ccr, enrich, eql, frozen-indicies, data-streams, graph, ilm, mapper-constant-keyword, mapper-flattened, ml A few of the more specialized qa projects within these plugins have not been changed with this PR due to additional complexity which should be addressed separately. A follow up PR will address the remaining x-pack plugins (this PR is big enough as-is). related: #61802 related: #56841 related: #59939 related: #55896
28 lines
772 B
Groovy
28 lines
772 B
Groovy
apply plugin: 'elasticsearch.yaml-rest-test'
|
|
|
|
dependencies {
|
|
yamlRestTestImplementation project(":x-pack:plugin:core")
|
|
}
|
|
|
|
// bring in graph rest test suite
|
|
restResources {
|
|
restApi {
|
|
includeCore '_common', 'cluster', 'indices', 'index'
|
|
includeXpack 'graph'
|
|
}
|
|
restTests {
|
|
includeXpack 'graph'
|
|
}
|
|
}
|
|
|
|
testClusters.all {
|
|
testDistribution = 'DEFAULT'
|
|
setting 'xpack.security.enabled', 'true'
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
|
|
|
extraConfigFile 'roles.yml', file('roles.yml')
|
|
user username: 'test_admin', password: 'x-pack-test-password'
|
|
user username: 'graph_explorer', password: 'x-pack-test-password', role: 'graph_explorer'
|
|
user username: 'no_graph_explorer', password: 'x-pack-test-password', role: 'no_graph_explorer'
|
|
}
|