Skip to content

Commit ffbe3fd

Browse files
Warnings
1 parent 453ad04 commit ffbe3fd

File tree

1 file changed

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

1 file changed

+7
-1
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/220_explain.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
setup:
33
- requires:
4-
test_runner_features: [capabilities, contains]
4+
test_runner_features: [capabilities, contains, allowed_warnings_regex]
55
capabilities:
66
- method: POST
77
path: /_query
@@ -40,6 +40,8 @@ setup:
4040
---
4141
explainRow:
4242
- do:
43+
allowed_warnings_regex:
44+
- "No limit defined, adding default limit of \\[.*\\]"
4345
esql.query:
4446
body:
4547
query: 'EXPLAIN [row a = 1]'
@@ -57,6 +59,8 @@ explainRow:
5759
---
5860
explainQuery:
5961
- do:
62+
allowed_warnings_regex:
63+
- "No limit defined, adding default limit of \\[.*\\]"
6064
esql.query:
6165
body:
6266
query: 'EXPLAIN [from test | where color == "red" | eval b = 20]'
@@ -74,6 +78,8 @@ explainQuery:
7478
---
7579
explainDownstream:
7680
- do:
81+
allowed_warnings_regex:
82+
- "No limit defined, adding default limit of \\[.*\\]"
7783
esql.query:
7884
body:
7985
query: 'EXPLAIN [row a = 1] | eval b = 2'

0 commit comments

Comments
 (0)