Skip to content

Commit 95e15b2

Browse files
authored
Fix flakiness on YAML tests for Sparse Vector (elastic#137202) (elastic#137252)
* add indices to deletion on teardown * unmute test (only the 1 is muted) (cherry picked from commit 2d45a8d) # Conflicts: # muted-tests.yml
1 parent 79aaa07 commit 95e15b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

muted-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,3 +482,4 @@ tests:
482482
# - class: "org.elasticsearch.xpack.esql.**"
483483
# method: "test {union_types.MultiIndexIpStringStatsInline *}"
484484
# issue: "https://github.com/elastic/elasticsearch/..."
485+

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/ml/sparse_vector_search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ teardown:
9999
Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser
100100
Content-Type: application/json
101101
indices.delete:
102-
index: ["sparse_vector_pruning_test", "test-sparse-vector-without-pruning", "test-sparse-vector-with-pruning"]
102+
index: [ "index-with-sparse-vector", "sparse_vector_pruning_test", "test-sparse-vector-without-pruning", "test-sparse-vector-with-pruning", "test-sparse-vector-pruning-default" ]
103103
ignore: 404
104104
- do:
105105
headers:

0 commit comments

Comments
 (0)