mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-29 03:18:26 +00:00
Backport of #61998 to 7.x branch. Moving the data stream yaml tests to xpack plugin module has the following benefits: * The tests are ran both with security enabled (as part of xpack/plugin integTest) and disabled (as part of xpack/plugin/data-stream/qa/rest integTest). * and running the tests in mixed cluster qa environment.
20 lines
729 B
Groovy
20 lines
729 B
Groovy
apply plugin: 'elasticsearch.yaml-rest-test'
|
|
|
|
restResources {
|
|
restApi {
|
|
includeCore 'bulk', 'count', 'search', '_common', 'indices', 'index', 'cluster', 'rank_eval', 'reindex', 'update_by_query', 'delete_by_query'
|
|
includeXpack 'eql', 'indices', 'data_stream', 'migration', 'async_search', 'searchable_snapshots', 'rollup', 'graph', 'ilm'
|
|
}
|
|
restTests {
|
|
includeXpack 'data_stream'
|
|
}
|
|
}
|
|
|
|
testClusters.all {
|
|
testDistribution = 'DEFAULT'
|
|
// Data streams is basic, but a few tests test data streams in combination with paid features
|
|
setting 'xpack.license.self_generated.type', 'trial'
|
|
// disable ILM history, since it disturbs tests using _all
|
|
setting 'indices.lifecycle.history_index_enabled', 'false'
|
|
}
|