Skip to content

Commit fee3bd3

Browse files
committed
Fixed RRF YAML REST Test: rrf with pinned retriever as a sub-retriever (elastic#130402)
* fixed failing pinned retriever test * Update docs/changelog/130402.yaml * Delete docs/changelog/130402.yaml * Worked on the PR comments * Fixed the Match_none * space format * space format # Conflicts: # muted-tests.yml
1 parent 0394054 commit fee3bd3

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

muted-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,9 +486,12 @@ tests:
486486
- class: org.elasticsearch.qa.verify_version_constants.VerifyVersionConstantsIT
487487
method: testLuceneVersionConstant
488488
issue: https://github.com/elastic/elasticsearch/issues/125638
489-
- class: org.elasticsearch.xpack.rank.rrf.RRFRankClientYamlTestSuiteIT
490-
method: test {yaml=rrf/950_pinned_interaction/rrf with pinned retriever as a sub-retriever}
491-
issue: https://github.com/elastic/elasticsearch/issues/129845
489+
- class: org.elasticsearch.index.store.FsDirectoryFactoryTests
490+
method: testPreload
491+
issue: https://github.com/elastic/elasticsearch/issues/129852
492+
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
493+
method: test {p0=esql/60_usage/Basic ESQL usage output (telemetry) non-snapshot version}
494+
issue: https://github.com/elastic/elasticsearch/issues/129888
492495
- class: org.elasticsearch.gradle.internal.InternalDistributionBwcSetupPluginFuncTest
493496
method: "builds distribution from branches via archives extractedAssemble [bwcDistVersion: 8.2.1, bwcProject: bugfix, expectedAssembleTaskName:
494497
extractedAssemble, #2]"

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ setup:
8080
-
8181
standard:
8282
query:
83-
match: { text: "document" }
83+
match_none: {}
8484
-
8585
pinned:
8686
ids: ["doc4", "doc5"]
@@ -90,9 +90,6 @@ setup:
9090
match: { text: "document" }
9191

9292
- match: { hits.total.value: 5 }
93-
- match: { hits.hits.0._id: doc1 }
94-
- lt: { hits.hits.0._score: 100.0 }
95-
- match: { hits.hits.1._id: doc4 }
96-
- match: { hits.hits.2._id: doc5 }
97-
93+
- match: { hits.hits.0._id: doc4 }
94+
- match: { hits.hits.1._id: doc5 }
9895

0 commit comments

Comments
 (0)