Skip to content

Commit 6fc1f71

Browse files
authored
ESQL: Fix match in LOOKUP JOIN YAML test (#118975) (#118988)
CI is broken, as sometimes the error comes with a "verification_error: " at the beginning, and the match assertion fails. Changing it to a contains.
1 parent 2383df6 commit 6fc1f71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/190_lookup_join.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
setup:
33
- requires:
4-
test_runner_features: [capabilities]
4+
test_runner_features: [capabilities, contains]
55
capabilities:
66
- method: POST
77
path: /_query
@@ -75,4 +75,4 @@ non-lookup index:
7575
catch: "bad_request"
7676

7777
- match: { error.type: "verification_exception" }
78-
- match: { error.reason: "Found 1 problem\nline 1:43: invalid [test] resolution in lookup mode to an index in [standard] mode" }
78+
- contains: { error.reason: "Found 1 problem\nline 1:43: invalid [test] resolution in lookup mode to an index in [standard] mode" }

0 commit comments

Comments
 (0)