Skip to content

Commit 79a13e1

Browse files
add EsqlCapability in tests
1 parent f73af04 commit 79a13e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2601,6 +2601,10 @@ public void testNamedDoubleParamsForIdentifiers() {
26012601
}
26022602

26032603
public void testInvalidNamedDoubleParamsForIdentifiers() {
2604+
assumeTrue(
2605+
"double parameters markers for identifiers requires snapshot build",
2606+
EsqlCapabilities.Cap.DOUBLE_PARAMETER_MARKERS_FOR_IDENTIFIERS.isEnabled()
2607+
);
26042608
// missing field
26052609
assertError(
26062610
"""

0 commit comments

Comments
 (0)