Move data stream yaml tests to xpack plugin module. (#62032)
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.
This commit is contained in:
parent
ebbf4df9fd
commit
7e566ddd06
|
@ -3,13 +3,17 @@ 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 'indices'
|
||||
includeXpack 'eql', 'indices', 'data_stream', 'migration', 'async_search', 'searchable_snapshots', 'rollup', 'graph', 'ilm'
|
||||
}
|
||||
restTests {
|
||||
includeXpack 'data_stream'
|
||||
}
|
||||
}
|
||||
|
||||
testClusters.all {
|
||||
testDistribution = 'DEFAULT'
|
||||
setting 'xpack.license.self_generated.type', 'basic'
|
||||
// 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'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue