Skip to content

Commit 1d807ee

Browse files
committed
Fixed the error message
1 parent 032e946 commit 1d807ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/rank-rrf/src/yamlRestTest/resources/rest-api-spec/test/rrf/320_rrf_weighted_retriever.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,5 @@ setup:
135135
description: "pizza"
136136
weight: 0.7
137137
- match: { error.type: "x_content_parse_exception" }
138-
- contains: { error.reason: "failed to parse field" }
138+
- contains: { error.caused_by.reason: "[weight] must be non-negative, found [-0.5]" }
139139

0 commit comments

Comments
 (0)