Skip to content

Commit 652ac81

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

File tree

1 file changed

+5
-0
lines changed
  • x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/ml

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,12 @@ setup:
110110

111111
---
112112
"Test flush and close job WITHOUT sending any data":
113+
- skip:
114+
features:
115+
- "warnings"
113116
- do:
117+
warnings:
118+
- 'Forcing any buffered data to be processed is deprecated, in a future major version it will be compulsory to use a datafeed'
114119
ml.flush_job:
115120
job_id: post-data-job
116121
- match: { flushed: true }

0 commit comments

Comments
 (0)