[TEST] Remove out of date tests. (elastic/x-pack-elasticsearch#1078)
The path has changed so it’s no longer possible to distinguish between data feed and job tasks. The preceding test get_datafeed provides ample coverage anyway. Original commit: elastic/x-pack-elasticsearch@780b1beb6b
This commit is contained in:
parent
8f61530dba
commit
00cfa78056
|
@ -74,12 +74,6 @@ setup:
|
||||||
datafeed_id: "datafeed-1"
|
datafeed_id: "datafeed-1"
|
||||||
- match: { datafeeds.0.state: started }
|
- match: { datafeeds.0.state: started }
|
||||||
|
|
||||||
- do:
|
|
||||||
cluster.state:
|
|
||||||
metric: [ metadata ]
|
|
||||||
filter_path: metadata.persistent_tasks.**.DatafeedState
|
|
||||||
- match: {metadata.persistent_tasks.tasks.0.status.DatafeedState.state: started}
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
xpack.ml.stop_datafeed:
|
xpack.ml.stop_datafeed:
|
||||||
"datafeed_id": "datafeed-1"
|
"datafeed_id": "datafeed-1"
|
||||||
|
@ -89,12 +83,6 @@ setup:
|
||||||
datafeed_id: "datafeed-1"
|
datafeed_id: "datafeed-1"
|
||||||
- match: { datafeeds.0.state: stopped }
|
- match: { datafeeds.0.state: stopped }
|
||||||
|
|
||||||
- do:
|
|
||||||
cluster.state:
|
|
||||||
metric: [ metadata ]
|
|
||||||
filter_path: metadata.persistent_tasks.**.DatafeedState
|
|
||||||
- is_false: metadata.persistent_tasks.tasks.0.status.DatafeedState
|
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test start datafeed given start is now":
|
"Test start datafeed given start is now":
|
||||||
- do:
|
- do:
|
||||||
|
|
Loading…
Reference in New Issue