Skip to content

Commit 47d97d8

Browse files
kderussoelasticsearchmachine
authored andcommitted
Fix CI failure regarding on disk rescore (elastic#138526)
* Fix CI failure regarding on disk rescore * [CI] Auto commit changes from spotless --------- Co-authored-by: elasticsearchmachine <[email protected]>
1 parent 5b216e0 commit 47d97d8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,6 @@ tests:
447447
- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackLookupJoinIT
448448
method: testLookupExplosionBigString
449449
issue: https://github.com/elastic/elasticsearch/issues/138510
450-
- class: org.elasticsearch.xpack.inference.integration.SemanticTextIndexOptionsIT
451-
method: testValidateIndexOptionsWithBasicLicense
452-
issue: https://github.com/elastic/elasticsearch/issues/138513
453450

454451
# Examples:
455452
#

x-pack/plugin/inference/src/internalClusterTest/java/org/elasticsearch/xpack/inference/integration/SemanticTextIndexOptionsIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.elasticsearch.common.xcontent.XContentHelper;
1616
import org.elasticsearch.core.Nullable;
1717
import org.elasticsearch.core.TimeValue;
18+
import org.elasticsearch.index.codec.vectors.es93.ES93GenericFlatVectorsFormat;
1819
import org.elasticsearch.index.mapper.vectors.DenseVectorFieldMapper;
1920
import org.elasticsearch.index.mapper.vectors.IndexOptions;
2021
import org.elasticsearch.inference.TaskType;
@@ -120,7 +121,7 @@ public void testValidateIndexOptionsWithBasicLicense() throws Exception {
120121
randomIntBetween(1, 100),
121122
randomIntBetween(1, 10_000),
122123
null,
123-
randomBoolean(),
124+
ES93GenericFlatVectorsFormat.GENERIC_VECTOR_FORMAT.isEnabled() && randomBoolean(),
124125
null
125126
);
126127
assertAcked(

0 commit comments

Comments
 (0)