Skip to content

Commit a488f6a

Browse files
committed
Fixing tests
1 parent 09f6cdc commit a488f6a

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

muted-tests.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -447,18 +447,9 @@ tests:
447447
- class: org.elasticsearch.indices.stats.IndexStatsIT
448448
method: testThrottleStats
449449
issue: https://github.com/elastic/elasticsearch/issues/126359
450-
- class: org.elasticsearch.search.vectors.IVFKnnFloatVectorQueryTests
451-
method: testRandomWithFilter
452-
issue: https://github.com/elastic/elasticsearch/issues/127963
453-
- class: org.elasticsearch.search.vectors.IVFKnnFloatVectorQueryTests
454-
method: testSearchBoost
455-
issue: https://github.com/elastic/elasticsearch/issues/127969
456450
- class: org.elasticsearch.packaging.test.DockerTests
457451
method: test040JavaUsesTheOsProvidedKeystore
458452
issue: https://github.com/elastic/elasticsearch/issues/127437
459-
- class: org.elasticsearch.search.vectors.IVFKnnFloatVectorQueryTests
460-
method: testFindFewer
461-
issue: https://github.com/elastic/elasticsearch/issues/128002
462453
- class: org.elasticsearch.xpack.remotecluster.RemoteClusterSecurityRestIT
463454
method: testTaskCancellation
464455
issue: https://github.com/elastic/elasticsearch/issues/128009

server/src/test/java/org/elasticsearch/search/vectors/AbstractIVFKnnVectorQueryTestCase.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ abstract class AbstractIVFKnnVectorQueryTestCase extends LuceneTestCase {
9898
@Before
9999
public void setUp() throws Exception {
100100
super.setUp();
101-
assumeTrue("IVF format must be enabled", IVFVectorsFormat.IVF_FORMAT_FEATURE_FLAG.isEnabled());
102-
format = new IVFVectorsFormat(random().nextInt(128));
101+
format = new IVFVectorsFormat(128);
103102
}
104103

105104
abstract AbstractIVFKnnVectorQuery getKnnVectorQuery(String field, float[] query, int k, Query queryFilter, int nProbe);

0 commit comments

Comments
 (0)