From 0cfb0b32b2c8f8682d2d50c5503198a7d24c9c0f Mon Sep 17 00:00:00 2001 From: carlosdelest Date: Wed, 30 Jul 2025 13:50:51 +0200 Subject: [PATCH 1/4] Fix DenseVectorFieldIndexTypeUpdateIT test --- muted-tests.yml | 78 ------------------- .../DenseVectorFieldIndexTypeUpdateIT.java | 56 ++++++------- 2 files changed, 30 insertions(+), 104 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 464f452913ef0..9297a2c621dce 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -530,60 +530,6 @@ tests: - class: org.elasticsearch.xpack.test.rest.XPackRestIT method: test {p0=transform/transforms_crud/Test transform where source query is invalid} issue: https://github.com/elastic/elasticsearch/issues/132111 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=bbq_flat updateType=bbq_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132112 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=hnsw updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132113 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=hnsw updateType=bbq_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132115 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=int8_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132116 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=int8_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132117 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132119 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=bbq_flat} - issue: https://github.com/elastic/elasticsearch/issues/132120 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132122 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132123 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132124 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=int4_flat} - issue: https://github.com/elastic/elasticsearch/issues/132125 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=int8_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132126 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=bbq_disk updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132127 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=int8_flat} - issue: https://github.com/elastic/elasticsearch/issues/132129 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=flat updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132130 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=bbq_flat} - issue: https://github.com/elastic/elasticsearch/issues/132132 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_hnsw updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132133 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=bbq_flat updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132134 - class: org.elasticsearch.upgrades.RunningSnapshotIT method: testRunningSnapshotCompleteAfterUpgrade {upgradedNodes=1} issue: https://github.com/elastic/elasticsearch/issues/132135 @@ -593,33 +539,9 @@ tests: - class: org.elasticsearch.upgrades.RunningSnapshotIT method: testRunningSnapshotCompleteAfterUpgrade {upgradedNodes=3} issue: https://github.com/elastic/elasticsearch/issues/132137 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132140 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=bbq_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132141 - class: org.elasticsearch.index.engine.MergeWithLowDiskSpaceIT method: testRelocationWhileForceMerging issue: https://github.com/elastic/elasticsearch/issues/131789 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132149 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132150 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=bbq_flat} - issue: https://github.com/elastic/elasticsearch/issues/132151 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=bbq_hnsw updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132152 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=hnsw updateType=int8_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132164 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_hnsw updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132165 # Examples: # diff --git a/server/src/internalClusterTest/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldIndexTypeUpdateIT.java b/server/src/internalClusterTest/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldIndexTypeUpdateIT.java index 522ea24d73196..dee16d72afb4e 100644 --- a/server/src/internalClusterTest/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldIndexTypeUpdateIT.java +++ b/server/src/internalClusterTest/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldIndexTypeUpdateIT.java @@ -12,10 +12,14 @@ import com.carrotsearch.randomizedtesting.annotations.Name; import com.carrotsearch.randomizedtesting.annotations.ParametersFactory; +import org.elasticsearch.action.DocWriteResponse; import org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsResponse; import org.elasticsearch.action.index.IndexRequest; import org.elasticsearch.cluster.metadata.IndexMetadata; import org.elasticsearch.common.settings.Settings; +import org.elasticsearch.rest.RestStatus; +import org.elasticsearch.search.vectors.KnnVectorQueryBuilder; +import org.elasticsearch.search.vectors.VectorData; import org.elasticsearch.test.ESIntegTestCase; import org.elasticsearch.xcontent.XContentBuilder; import org.elasticsearch.xcontent.XContentFactory; @@ -25,6 +29,7 @@ import java.util.Collection; import java.util.List; import java.util.Map; +import java.util.concurrent.ExecutionException; import static org.elasticsearch.index.IndexSettings.INDEX_MAPPER_SOURCE_MODE_SETTING; import static org.elasticsearch.index.mapper.SourceFieldMapper.Mode.SYNTHETIC; @@ -75,7 +80,7 @@ public static Collection params() { @SuppressWarnings("unchecked") public void testDenseVectorMappingUpdate() throws Exception { dimensions = randomIntBetween(1, 10) * 64; - var client = client().admin().indices(); + var indicesClient = client().admin().indices(); Settings.Builder settingsBuilder = Settings.builder() .put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, 0) @@ -85,7 +90,7 @@ public void testDenseVectorMappingUpdate() throws Exception { } // Create index with initial mapping - var createRequest = client.prepareCreate(INDEX_NAME) + var createRequest = indicesClient.prepareCreate(INDEX_NAME) .setSettings(Settings.builder().put("index.number_of_shards", randomIntBetween(1, 5))) .setMapping(updateMapping(dimensions, initialType)) .setSettings(settingsBuilder.build()); @@ -97,16 +102,16 @@ public void testDenseVectorMappingUpdate() throws Exception { indexDoc(i); } - client.prepareFlush(INDEX_NAME).get(); - client.prepareRefresh(INDEX_NAME).get(); + indicesClient.prepareFlush(INDEX_NAME).get(); + indicesClient.prepareRefresh(INDEX_NAME).get(); // Update mapping to new type - var putMappingRequest = client.preparePutMapping(INDEX_NAME).setSource(updateMapping(dimensions, updateType)).request(); - assertAcked(client.putMapping(putMappingRequest)); + var putMappingRequest = indicesClient.preparePutMapping(INDEX_NAME).setSource(updateMapping(dimensions, updateType)).request(); + assertAcked(indicesClient.putMapping(putMappingRequest)); // Validate mapping - GetFieldMappingsResponse fieldMapping = client.getFieldMappings( - client.prepareGetFieldMappings(INDEX_NAME).setFields(VECTOR_FIELD).request() + GetFieldMappingsResponse fieldMapping = indicesClient.getFieldMappings( + indicesClient.prepareGetFieldMappings(INDEX_NAME).setFields(VECTOR_FIELD).request() ).get(); var fieldMappingMetadata = fieldMapping.fieldMappings(INDEX_NAME, VECTOR_FIELD); var fieldMap = (Map) fieldMappingMetadata.sourceAsMap().get(VECTOR_FIELD); @@ -119,28 +124,26 @@ public void testDenseVectorMappingUpdate() throws Exception { indexDoc(i); } - client.prepareFlush(INDEX_NAME).get(); - client.prepareRefresh(INDEX_NAME).get(); + indicesClient.prepareFlush(INDEX_NAME).get(); + indicesClient.prepareRefresh(INDEX_NAME).get(); // Search to ensure all documents are present int expectedDocs = docsBefore + docsAfter; - assertNoFailuresAndResponse(client().prepareSearch(INDEX_NAME).setSize(expectedDocs + 10), response -> { + + // Count query + assertNoFailuresAndResponse(client().prepareSearch(INDEX_NAME).setSize(0).setTrackTotalHits(true).setSize(expectedDocs), response -> { assertHitCount(response, expectedDocs); }); - } - private XContentBuilder initialMapping(int dimensions, String type) throws IOException { - XContentBuilder builder = XContentFactory.jsonBuilder(); - builder.startObject(); - { - builder.startObject("mappings"); - { - createFieldMapping(dimensions, type, builder); - } - builder.endObject(); + // KNN query + float[] queryVector = new float[dimensions]; + for (int i = 0; i < queryVector.length; i++) { + queryVector[i] = randomFloatBetween(-1, 1, true); } - builder.endObject(); - return builder; + KnnVectorQueryBuilder queryBuilder = new KnnVectorQueryBuilder(VECTOR_FIELD, queryVector, null, null, null, null); + assertNoFailuresAndResponse(client().prepareSearch(INDEX_NAME).setQuery(queryBuilder).setTrackTotalHits(true).setSize(expectedDocs), response -> { + assertHitCount(response, expectedDocs); + }); } private XContentBuilder updateMapping(int dimensions, String type) throws IOException { @@ -168,9 +171,10 @@ private static void createFieldMapping(int dimensions, String type, XContentBuil builder.endObject(); } - private void indexDoc(int id) throws IOException { + private void indexDoc(int id) throws ExecutionException, InterruptedException { Float[] vector = randomArray(dimensions, dimensions, Float[]::new, () -> randomFloatBetween(-1, 1, true)); - IndexRequest req = prepareIndex(INDEX_NAME).setSource(VECTOR_FIELD, vector).setId(Integer.toString(id)).request(); - client().index(req); + IndexRequest indexRequest = prepareIndex(INDEX_NAME).setSource(VECTOR_FIELD, vector).setId(Integer.toString(id)).request(); + DocWriteResponse indexResponse = client().index(indexRequest).get(); + assertEquals(RestStatus.CREATED, indexResponse.status()); } } From 89e2a7c5db76f6924c585a383ed5c7dd47898bdd Mon Sep 17 00:00:00 2001 From: elasticsearchmachine Date: Wed, 30 Jul 2025 12:09:22 +0000 Subject: [PATCH 2/4] [CI] Auto commit changes from spotless --- .../DenseVectorFieldIndexTypeUpdateIT.java | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/server/src/internalClusterTest/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldIndexTypeUpdateIT.java b/server/src/internalClusterTest/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldIndexTypeUpdateIT.java index dee16d72afb4e..bb06d6f569106 100644 --- a/server/src/internalClusterTest/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldIndexTypeUpdateIT.java +++ b/server/src/internalClusterTest/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldIndexTypeUpdateIT.java @@ -19,7 +19,6 @@ import org.elasticsearch.common.settings.Settings; import org.elasticsearch.rest.RestStatus; import org.elasticsearch.search.vectors.KnnVectorQueryBuilder; -import org.elasticsearch.search.vectors.VectorData; import org.elasticsearch.test.ESIntegTestCase; import org.elasticsearch.xcontent.XContentBuilder; import org.elasticsearch.xcontent.XContentFactory; @@ -131,9 +130,12 @@ public void testDenseVectorMappingUpdate() throws Exception { int expectedDocs = docsBefore + docsAfter; // Count query - assertNoFailuresAndResponse(client().prepareSearch(INDEX_NAME).setSize(0).setTrackTotalHits(true).setSize(expectedDocs), response -> { - assertHitCount(response, expectedDocs); - }); + assertNoFailuresAndResponse( + client().prepareSearch(INDEX_NAME).setSize(0).setTrackTotalHits(true).setSize(expectedDocs), + response -> { + assertHitCount(response, expectedDocs); + } + ); // KNN query float[] queryVector = new float[dimensions]; @@ -141,9 +143,12 @@ public void testDenseVectorMappingUpdate() throws Exception { queryVector[i] = randomFloatBetween(-1, 1, true); } KnnVectorQueryBuilder queryBuilder = new KnnVectorQueryBuilder(VECTOR_FIELD, queryVector, null, null, null, null); - assertNoFailuresAndResponse(client().prepareSearch(INDEX_NAME).setQuery(queryBuilder).setTrackTotalHits(true).setSize(expectedDocs), response -> { - assertHitCount(response, expectedDocs); - }); + assertNoFailuresAndResponse( + client().prepareSearch(INDEX_NAME).setQuery(queryBuilder).setTrackTotalHits(true).setSize(expectedDocs), + response -> { + assertHitCount(response, expectedDocs); + } + ); } private XContentBuilder updateMapping(int dimensions, String type) throws IOException { From f794deff91048ed765b719238b65f6bb0d792d1e Mon Sep 17 00:00:00 2001 From: carlosdelest Date: Thu, 31 Jul 2025 09:23:38 +0200 Subject: [PATCH 3/4] Remove more muted tests --- muted-tests.yml | 114 ------------------------------------------------ 1 file changed, 114 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 0bc477f729181..29dcfe0f422fe 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -512,123 +512,15 @@ tests: - class: org.elasticsearch.xpack.test.rest.XPackRestIT method: test {p0=transform/transforms_crud/Test transform where source query is invalid} issue: https://github.com/elastic/elasticsearch/issues/132111 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=bbq_flat updateType=bbq_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132112 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=hnsw updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132113 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=hnsw updateType=bbq_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132115 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=int8_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132116 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=int8_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132117 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132119 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=bbq_flat} - issue: https://github.com/elastic/elasticsearch/issues/132120 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132122 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132123 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132124 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=int4_flat} - issue: https://github.com/elastic/elasticsearch/issues/132125 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=int8_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132126 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=bbq_disk updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132127 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=int8_flat} - issue: https://github.com/elastic/elasticsearch/issues/132129 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=flat updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132130 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=bbq_flat} - issue: https://github.com/elastic/elasticsearch/issues/132132 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_hnsw updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132133 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=bbq_flat updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132134 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132140 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=bbq_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132141 - class: org.elasticsearch.index.engine.MergeWithLowDiskSpaceIT method: testRelocationWhileForceMerging issue: https://github.com/elastic/elasticsearch/issues/131789 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=int4_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132149 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132150 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_flat updateType=bbq_flat} - issue: https://github.com/elastic/elasticsearch/issues/132151 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=bbq_hnsw updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132152 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=hnsw updateType=int8_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132164 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_hnsw updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132165 - class: org.elasticsearch.indices.cluster.FieldCapsForceConnectTimeoutIT method: testTimeoutSetting issue: https://github.com/elastic/elasticsearch/issues/132179 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=bbq_flat updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132184 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=bbq_hnsw updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132188 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=int8_flat updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132189 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_hnsw updateType=bbq_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132211 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=int8_hnsw updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132213 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int8_hnsw updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132214 - class: org.elasticsearch.xpack.security.authz.store.CompositeRolesStoreTests method: testCacheCleanupOnProjectDeletion issue: https://github.com/elastic/elasticsearch/issues/132218 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=bbq_hnsw} - issue: https://github.com/elastic/elasticsearch/issues/132219 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=hnsw updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132220 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=int4_flat updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132221 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: testDenseVectorMappingUpdate {initialType=flat updateType=bbq_disk} - issue: https://github.com/elastic/elasticsearch/issues/132222 - class: org.elasticsearch.test.rest.yaml.MDPYamlTestSuiteIT method: test {yaml=mdp/10_basic/Index using shared data path} issue: https://github.com/elastic/elasticsearch/issues/132223 @@ -638,12 +530,6 @@ tests: - class: org.elasticsearch.xpack.logsdb.qa.StoredSourceLogsDbVersusReindexedLogsDbChallengeRestIT method: testTermsQuery issue: https://github.com/elastic/elasticsearch/issues/132226 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=int4_hnsw updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132228 -- class: org.elasticsearch.index.mapper.vectors.DenseVectorFieldIndexTypeUpdateIT - method: "testDenseVectorMappingUpdate {initialType=int4_flat updateType=bbq_disk #2}" - issue: https://github.com/elastic/elasticsearch/issues/132234 # Examples: # From 4dc8b4bbe3a86432ebf3731c6d8f1e52a32f1b70 Mon Sep 17 00:00:00 2001 From: carlosdelest Date: Thu, 31 Jul 2025 09:30:34 +0200 Subject: [PATCH 4/4] Fix bad merge --- muted-tests.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/muted-tests.yml b/muted-tests.yml index 56eba8172b630..2a61f44a6da29 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -512,22 +512,24 @@ tests: - class: org.elasticsearch.xpack.test.rest.XPackRestIT method: test {p0=transform/transforms_crud/Test transform where source query is invalid} issue: https://github.com/elastic/elasticsearch/issues/132111 -- class: org.elasticsearch.upgrades.RunningSnapshotIT - method: testRunningSnapshotCompleteAfterUpgrade {upgradedNodes=1} - issue: https://github.com/elastic/elasticsearch/issues/132135 -- class: org.elasticsearch.upgrades.RunningSnapshotIT - method: testRunningSnapshotCompleteAfterUpgrade {upgradedNodes=2} - issue: https://github.com/elastic/elasticsearch/issues/132136 -- class: org.elasticsearch.upgrades.RunningSnapshotIT - method: testRunningSnapshotCompleteAfterUpgrade {upgradedNodes=3} - issue: https://github.com/elastic/elasticsearch/issues/132137 - class: org.elasticsearch.index.engine.MergeWithLowDiskSpaceIT method: testRelocationWhileForceMerging issue: https://github.com/elastic/elasticsearch/issues/131789 - class: org.elasticsearch.indices.cluster.FieldCapsForceConnectTimeoutIT method: testTimeoutSetting issue: https://github.com/elastic/elasticsearch/issues/132179 - +- class: org.elasticsearch.xpack.security.authz.store.CompositeRolesStoreTests + method: testCacheCleanupOnProjectDeletion + issue: https://github.com/elastic/elasticsearch/issues/132218 +- class: org.elasticsearch.test.rest.yaml.MDPYamlTestSuiteIT + method: test {yaml=mdp/10_basic/Index using shared data path} + issue: https://github.com/elastic/elasticsearch/issues/132223 +- class: org.elasticsearch.xpack.logsdb.qa.StandardVersusStandardReindexedIntoLogsDbChallengeRestIT + method: testTermsQuery + issue: https://github.com/elastic/elasticsearch/issues/132225 +- class: org.elasticsearch.xpack.logsdb.qa.StoredSourceLogsDbVersusReindexedLogsDbChallengeRestIT + method: testTermsQuery + issue: https://github.com/elastic/elasticsearch/issues/132226 # Examples: # # Mute a single test case in a YAML test suite: