Skip to content

Commit 865272d

Browse files
committed
add expected warning message.
1 parent 652ac81 commit 865272d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/ml/job_cat_apis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ setup:
8787
{"airline":"JZA","responsetime":"244.1276","time":"1403485200"}
8888
8989
- do:
90+
warnings:
91+
- 'Forcing any buffered data to be processed is deprecated, in a future major version it will be compulsory to use a datafeed'
9092
ml.flush_job:
9193
job_id: job-stats-test
9294
- match: { flushed: true }

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/ml/jobs_get_stats.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ setup:
8787
{"airline":"JZA","responsetime":"244.1276","time":"1403485200"}
8888
8989
- do:
90+
warnings:
91+
- 'Forcing any buffered data to be processed is deprecated, in a future major version it will be compulsory to use a datafeed'
9092
ml.flush_job:
9193
job_id: job-stats-test
9294
- match: { flushed: true }
@@ -131,6 +133,8 @@ setup:
131133
{"airline":"JZA","responsetime":"244.1276","time":"1403485200"}
132134
133135
- do:
136+
warnings:
137+
- 'Forcing any buffered data to be processed is deprecated, in a future major version it will be compulsory to use a datafeed'
134138
ml.flush_job:
135139
job_id: job-stats-test
136140
- match: { flushed: true }

0 commit comments

Comments
 (0)