Skip to content

Commit 748801e

Browse files
Make test setup more reliable #121110
Make test setup more reliable Resolves #119197
1 parent 55f2db8 commit 748801e

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
@@ -59,6 +59,17 @@ setup:
5959
- do:
6060
indices.refresh: {}
6161

62+
# For added test reliability, pending the resolution of https://github.com/elastic/elasticsearch/issues/109416.
63+
- do:
64+
indices.forcemerge:
65+
max_num_segments: 1
66+
index: int4_flat
67+
- do:
68+
indices.refresh: {}
69+
- do:
70+
indices.forcemerge:
71+
max_num_segments: 1
72+
index: int4_flat
6273
---
6374
"kNN search only":
6475
- do:

0 commit comments

Comments
 (0)