Skip to content

Commit 10c2e46

Browse files
Adding check if the document has returned in the yaml test
1 parent a191e62 commit 10c2e46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/30_semantic_text_inference_bwc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,4 +673,5 @@ setup:
673673
query:
674674
match_all: { }
675675

676+
- match: { hits.total.value: 1 }
676677
- not_exists: hits.hits.0._source._inference_fields

0 commit comments

Comments
 (0)