Skip to content

Commit 445869a

Browse files
authored
ESQL ScoringIT - Fix release test (#125250) (#125287)
1 parent c3fa23a commit 445869a

File tree

1 file changed

+4
-1
lines changed
  • x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/plugin

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.elasticsearch.plugins.Plugin;
1717
import org.elasticsearch.xpack.esql.EsqlTestUtils;
1818
import org.elasticsearch.xpack.esql.action.AbstractEsqlIntegTestCase;
19+
import org.elasticsearch.xpack.esql.action.EsqlCapabilities;
1920
import org.elasticsearch.xpack.kql.KqlPlugin;
2021
import org.junit.Before;
2122

@@ -48,7 +49,9 @@ public static List<Object[]> params() {
4849
params.add(new Object[] { "content:\"fox\"" });
4950
params.add(new Object[] { "qstr(\"content: fox\")" });
5051
params.add(new Object[] { "kql(\"content*: fox\")" });
51-
params.add(new Object[] { "term(content, \"fox\")" });
52+
if (EsqlCapabilities.Cap.TERM_FUNCTION.isEnabled()) {
53+
params.add(new Object[] { "term(content, \"fox\")" });
54+
}
5255
return params;
5356
}
5457

0 commit comments

Comments
 (0)