Skip to content

Commit a2133d9

Browse files
committed
Anticipate the warning
1 parent fd66d09 commit a2133d9

File tree

1 file changed

+3
-1
lines changed
  • x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/deprecation

1 file changed

+3
-1
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/deprecation/10_basic.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ setup:
1111
- method: GET
1212
path: /_migration/deprecations
1313
capabilities: [ data_streams, ilm_policies, templates ]
14-
test_runner_features: capabilities
14+
test_runner_features: [capabilities, warnings]
1515
reason: "Support for data streams, ILM policies and templates"
1616
- do:
17+
warnings:
18+
- "this request accesses system indices: [.security-7], but in a future major version, direct access to system indices will be prevented by default"
1719
migration.deprecations:
1820
index: "*"
1921
- length: { cluster_settings: 0 }

0 commit comments

Comments
 (0)