Skip to content

Commit

Permalink
Make ES|QL scoring tests running consistently in serverless (#118854)
Browse files Browse the repository at this point in the history
* make scoring tests running consistently in serverless

enforce _id in books dataset to make doc distribution across shards consistent.
books settings with 3 shards to accomodate serverless settings.
unmuting scoring tests.
scoring test fixed.
  • Loading branch information
tteofili authored Dec 18, 2024
1 parent d118cbf commit 140beb1
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 149 deletions.
18 changes: 0 additions & 18 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,24 +153,6 @@ tests:
issue: https://github.com/elastic/elasticsearch/issues/117473
- class: org.elasticsearch.repositories.s3.RepositoryS3EcsClientYamlTestSuiteIT
issue: https://github.com/elastic/elasticsearch/issues/117525
- class: "org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT"
method: "test {scoring.*}"
issue: https://github.com/elastic/elasticsearch/issues/117641
- class: "org.elasticsearch.xpack.esql.qa.single_node.EsqlSpecIT"
method: "test {scoring.*}"
issue: https://github.com/elastic/elasticsearch/issues/117641
- class: "org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT"
method: "test {scoring.*}"
issue: https://github.com/elastic/elasticsearch/issues/117641
- class: "org.elasticsearch.xpack.esql.qa.mixed.MultiClusterEsqlSpecIT"
method: "test {scoring.*}"
issue: https://github.com/elastic/elasticsearch/issues/118460
- class: "org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT"
method: "test {scoring.*}"
issue: https://github.com/elastic/elasticsearch/issues/118460
- class: org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT
method: test {scoring.QstrWithFieldAndScoringSortedEval}
issue: https://github.com/elastic/elasticsearch/issues/117751
- class: org.elasticsearch.search.ccs.CrossClusterIT
method: testCancel
issue: https://github.com/elastic/elasticsearch/issues/108061
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public class CsvTestsDataLoader {
private static final TestsDataset DISTANCES = new TestsDataset("distances");
private static final TestsDataset K8S = new TestsDataset("k8s", "k8s-mappings.json", "k8s.csv").withSetting("k8s-settings.json");
private static final TestsDataset ADDRESSES = new TestsDataset("addresses");
private static final TestsDataset BOOKS = new TestsDataset("books");
private static final TestsDataset BOOKS = new TestsDataset("books").withSetting("books-settings.json");
private static final TestsDataset SEMANTIC_TEXT = new TestsDataset("semantic_text").withInferenceEndpoint(true);

public static final Map<String, TestsDataset> CSV_DATASET_MAP = Map.ofEntries(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"index": {
"number_of_shards": 3
}
}
Loading

0 comments on commit 140beb1

Please sign in to comment.