Skip to content

Commit 697989c

Browse files
committed
Fix borken test
1 parent 7d07d1a commit 697989c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,6 +2097,8 @@ public void testMatchOptions() {
20972097
}
20982098

20992099
public void testInsistNotOnTopOfFrom() {
2100+
assumeTrue("requires snapshot builds", Build.current().isSnapshot());
2101+
21002102
assertThat(
21012103
error("FROM test | EVAL foo = 42 | INSIST_🐔 bar"),
21022104
containsString("1:29: [insist] can only be used after [from] or [insist] commands, but was [EVAL foo = 42]")

0 commit comments

Comments
 (0)