Skip to content

Commit 0ec230b

Browse files
authored
Disable DenseVectorFieldTypeIT on build release. (#128953)
1 parent bb49286 commit 0ec230b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/DenseVectorFieldTypeIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.elasticsearch.xcontent.XContentBuilder;
1717
import org.elasticsearch.xcontent.XContentFactory;
1818
import org.elasticsearch.xpack.esql.action.AbstractEsqlIntegTestCase;
19+
import org.elasticsearch.xpack.esql.action.EsqlCapabilities;
1920
import org.junit.Before;
2021

2122
import java.io.IOException;
@@ -129,6 +130,7 @@ public void testRetrieveDenseVectorFieldData() {
129130

130131
@Before
131132
public void setup() throws IOException {
133+
assumeTrue("Dense vector type is disabled", EsqlCapabilities.Cap.DENSE_VECTOR_FIELD_TYPE.isEnabled());
132134
var indexName = "test";
133135
var client = client().admin().indices();
134136
XContentBuilder mapping = XContentFactory.jsonBuilder()

0 commit comments

Comments
 (0)