File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/plugin Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1414import org .elasticsearch .xcontent .XContentFactory ;
1515import org .elasticsearch .xpack .esql .EsqlTestUtils ;
1616import org .elasticsearch .xpack .esql .action .AbstractEsqlIntegTestCase ;
17+ import org .elasticsearch .xpack .esql .action .EsqlCapabilities ;
1718import org .junit .Before ;
1819
1920import java .io .IOException ;
@@ -110,6 +111,8 @@ public void testKnnNonPushedDown() {
110111
111112 @ Before
112113 public void setup () throws IOException {
114+ assumeTrue ("Needs KNN support" , EsqlCapabilities .Cap .KNN_FUNCTION .isEnabled ());
115+
113116 var indexName = "test" ;
114117 var client = client ().admin ().indices ();
115118 XContentBuilder mapping = XContentFactory .jsonBuilder ()
You can’t perform that action at this time.
0 commit comments