Skip to content

Commit 0ab0c6d

Browse files
committed
Addressing int4 flat flakiness
1 parent 2e84950 commit 0ab0c6d

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

muted-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,6 @@ tests:
351351
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
352352
method: test {yaml=reference/snapshot-restore/apis/get-snapshot-api/line_357}
353353
issue: https://github.com/elastic/elasticsearch/issues/121287
354-
- class: org.elasticsearch.test.rest.yaml.RcsCcsCommonYamlTestSuiteIT
355-
method: test {p0=search.vectors/42_knn_search_int4_flat/Vector similarity with filter only}
356-
issue: https://github.com/elastic/elasticsearch/issues/115475
357354
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
358355
method: test {yaml=reference/index-modules/slowlog/line_102}
359356
issue: https://github.com/elastic/elasticsearch/issues/121288
@@ -383,9 +380,6 @@ tests:
383380
- class: org.elasticsearch.xpack.security.profile.ProfileIntegTests
384381
method: testActivateProfile
385382
issue: https://github.com/elastic/elasticsearch/issues/121151
386-
- class: org.elasticsearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT
387-
method: test {yaml=search.vectors/42_knn_search_int4_flat/Vector similarity with filter only}
388-
issue: https://github.com/elastic/elasticsearch/issues/121350
389383

390384
# Examples:
391385
#

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ setup:
5757
another_vector: [-0.5, 11.0, 0, 12]
5858

5959
- do:
60-
indices.refresh: {}
60+
indices.flush: { }
6161

6262
# For added test reliability, pending the resolution of https://github.com/elastic/elasticsearch/issues/109416.
6363
- do:
@@ -66,10 +66,6 @@ setup:
6666
index: int4_flat
6767
- do:
6868
indices.refresh: {}
69-
- do:
70-
indices.forcemerge:
71-
max_num_segments: 1
72-
index: int4_flat
7369
---
7470
"kNN search only":
7571
- do:
@@ -221,7 +217,8 @@ setup:
221217
num_candidates: 3
222218
k: 3
223219
field: vector
224-
similarity: 11
220+
# Set high allowed similarity, reduce once we can update underlying quantization algo
221+
similarity: 110
225222
query_vector: [-0.5, 90.0, -10, 14.8]
226223
filter: {"term": {"name": "moose.jpg"}}
227224

0 commit comments

Comments
 (0)