Skip to content

Commit 3bbf393

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

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
@@ -406,3 +406,4 @@ tests:
406406
- class: org.elasticsearch.xpack.esql.plugin.DataNodeRequestSenderIT
407407
method: testSearchWhileRelocating
408408
issue: https://github.com/elastic/elasticsearch/issues/128500
409+

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)