diff --git a/muted-tests.yml b/muted-tests.yml index ddd226e354fe3..04ab589393e4f 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -615,12 +615,6 @@ tests: - class: org.elasticsearch.test.rest.yaml.RcsCcsCommonYamlTestSuiteIT method: test {p0=search.vectors/100_knn_nested_search/nested kNN search inner_hits & profiling} issue: https://github.com/elastic/elasticsearch/issues/133273 -- class: org.elasticsearch.xpack.inference.mapper.SemanticTextFieldMapperTests - method: testDefaultIndexOptions {p0=true} - issue: https://github.com/elastic/elasticsearch/issues/133326 -- class: org.elasticsearch.xpack.inference.mapper.SemanticTextFieldMapperTests - method: testDefaultIndexOptions {p0=false} - issue: https://github.com/elastic/elasticsearch/issues/133327 - class: org.elasticsearch.xpack.security.authc.AuthenticationServiceTests method: testInvalidToken issue: https://github.com/elastic/elasticsearch/issues/133328 diff --git a/x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java b/x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java index 7ee178cbe2af6..c43240165920e 100644 --- a/x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java +++ b/x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java @@ -1437,7 +1437,11 @@ public void testDefaultIndexOptions() throws IOException { b.field("similarity", "cosine"); b.field("element_type", "float"); b.endObject(); - }), useLegacyFormat, IndexVersions.SEMANTIC_TEXT_DEFAULTS_TO_BBQ_BACKPORT_8_X, IndexVersions.UPGRADE_TO_LUCENE_10_0_0); + }), + useLegacyFormat, + IndexVersions.SEMANTIC_TEXT_DEFAULTS_TO_BBQ_BACKPORT_8_X, + IndexVersionUtils.getPreviousVersion(IndexVersions.UPGRADE_TO_LUCENE_10_0_0) + ); assertSemanticTextField(mapperService, "field", true, null, defaultBbqHnswSemanticTextIndexOptions()); // Previous 8.x index versions do not set BBQ index options