From 00cfa78056bcf8e86930b5fef1ca7ce87214b840 Mon Sep 17 00:00:00 2001 From: David Kyle Date: Thu, 13 Apr 2017 16:36:51 +0100 Subject: [PATCH] [TEST] Remove out of date tests. (elastic/x-pack-elasticsearch#1078) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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@780b1beb6bf39c9b37d338db0ab076899b1e50fb --- .../rest-api-spec/test/ml/start_stop_datafeed.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yaml index 6bff2bd5091..674ed39ff42 100644 --- a/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yaml @@ -74,12 +74,6 @@ setup: datafeed_id: "datafeed-1" - 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: xpack.ml.stop_datafeed: "datafeed_id": "datafeed-1" @@ -89,12 +83,6 @@ setup: datafeed_id: "datafeed-1" - 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": - do: