Skip to content

Commit 7136e09

Browse files
committed
unmute test, remove unused method
1 parent c1d40b5 commit 7136e09

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,9 +492,6 @@ tests:
492492
- class: org.elasticsearch.reservedstate.service.FileSettingsServiceIT
493493
method: testSettingsAppliedOnStart
494494
issue: https://github.com/elastic/elasticsearch/issues/131210
495-
- class: org.elasticsearch.index.mapper.vectors.SparseVectorFieldMapperTests
496-
method: testPruningScenarios
497-
issue: https://github.com/elastic/elasticsearch/issues/132810
498495
- class: org.elasticsearch.test.rest.yaml.CcsCommonYamlTestSuiteIT
499496
method: test {p0=search/160_exists_query/Test exists query on mapped date field with no doc values}
500497
issue: https://github.com/elastic/elasticsearch/issues/132828

server/src/test/java/org/elasticsearch/index/mapper/vectors/SparseVectorFieldMapperTests.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -862,16 +862,6 @@ private void assertPruningScenario(PruningOptions indexPruningOptions, PruningOp
862862
});
863863
}
864864

865-
private IndexVersion getIndexVersionForTest(boolean usePreviousIndex) {
866-
return usePreviousIndex
867-
? IndexVersionUtils.randomVersionBetween(
868-
random(),
869-
UPGRADE_TO_LUCENE_10_0_0,
870-
IndexVersionUtils.getPreviousVersion(SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT)
871-
)
872-
: IndexVersionUtils.randomVersionBetween(random(), SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT, IndexVersion.current());
873-
}
874-
875865
private static final List<WeightedToken> QUERY_VECTORS = Stream.of(RARE_TOKENS, MEDIUM_TOKENS, COMMON_TOKENS)
876866
.flatMap(map -> map.entrySet().stream())
877867
.map(entry -> new WeightedToken(entry.getKey(), entry.getValue()))

0 commit comments

Comments
 (0)