Skip to content

Commit 1a68442

Browse files
committed
Fixed all the tests in the yaml file
1 parent 84608c0 commit 1a68442

File tree

1 file changed

+12
-12
lines changed
  • x-pack/plugin/search-business-rules/src/yamlRestTest/resources/rest-api-spec/test/search-business-rules

1 file changed

+12
-12
lines changed

x-pack/plugin/search-business-rules/src/yamlRestTest/resources/rest-api-spec/test/search-business-rules/10_pinned_retriever.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -404,11 +404,11 @@ setup:
404404
match: { text: "document" }
405405

406406
- match: { hits.total.value: 5 }
407-
- match: { hits.hits.0._id: doc1 }
408-
- gt: { hits.hits.0._score: 1.0 }
409-
- match: { hits.hits.1._id: doc3 }
410-
- gt: { hits.hits.1._score: 1.0 }
411-
- match: { hits.hits.2._id: doc2 }
407+
- match: { hits.hits.0._id: doc1 }
408+
- match: { hits.hits.0._score: 1.7014126E38 }
409+
- match: { hits.hits.1._id: doc3 }
410+
- match: { hits.hits.1._score: 1.7014122E38 }
411+
- match: { hits.hits.2._id: doc2 }
412412
- match: { hits.hits.2._score < 100.0 }
413413

414414
---
@@ -434,14 +434,14 @@ setup:
434434
match: { text: "document" }
435435

436436
- match: { hits.total.value: 5 }
437-
- match: { hits.hits.0._id: doc1 }
438-
- gt: { hits.hits.0._score: 1.0 }
439-
- match: { hits.hits.1._id: doc3 }
440-
- gt: { hits.hits.1._score: 1.0 }
441-
- match: { hits.hits.2._id: doc2 }
437+
- match: { hits.hits.0._id: doc1 }
438+
- match: { hits.hits.0._score: 1.7014126E38 }
439+
- match: { hits.hits.1._id: doc3 }
440+
- match: { hits.hits.1._score: 1.7014122E38 }
441+
- match: { hits.hits.2._id: doc2 }
442442
- match: { hits.hits.2._score < 100.0 }
443-
- match: { hits.hits.3._id: doc4 }
444-
- match: { hits.hits.4._id: doc5 }
443+
- match: { hits.hits.3._id: doc4 }
444+
- match: { hits.hits.4._id: doc5 }
445445

446446

447447

0 commit comments

Comments
 (0)