Skip to content

Commit e95a5bc

Browse files
committed
Fix tests
1 parent 9d3c85f commit e95a5bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2258,9 +2258,8 @@ public void testFullTextFunctionsNullArgs() throws Exception {
22582258
checkFullTextFunctionNullArgs("term(title, null)", "second");
22592259
}
22602260
if (EsqlCapabilities.Cap.KNN_FUNCTION_V4.isEnabled()) {
2261-
checkFullTextFunctionNullArgs("knn(null, [0, 1, 2], 10)", "first");
2262-
checkFullTextFunctionNullArgs("knn(vector, null, 10)", "second");
2263-
checkFullTextFunctionNullArgs("knn(vector, [0, 1, 2], null)", "third");
2261+
checkFullTextFunctionNullArgs("knn(null, [0, 1, 2])", "first");
2262+
checkFullTextFunctionNullArgs("knn(vector, null)", "second");
22642263
}
22652264
}
22662265

0 commit comments

Comments
 (0)