Skip to content

Commit a448623

Browse files
Make test setup more reliable elastic#121110 (elastic#121313)
Make test setup more reliable Resolves elastic#119197 (cherry picked from commit 748801e)
1 parent 3270bc1 commit a448623

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/42_knn_search_int4_flat.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,17 @@ setup:
6262
- do:
6363
indices.refresh: {}
6464

65+
# For added test reliability, pending the resolution of https://github.com/elastic/elasticsearch/issues/109416.
66+
- do:
67+
indices.forcemerge:
68+
max_num_segments: 1
69+
index: int4_flat
70+
- do:
71+
indices.refresh: {}
72+
- do:
73+
indices.forcemerge:
74+
max_num_segments: 1
75+
index: int4_flat
6576
---
6677
"kNN search only":
6778
- do:

0 commit comments

Comments
 (0)