Skip to content

Commit a257e70

Browse files
Ignored folding and serialization tests for qstr
1 parent 518e6e9 commit a257e70

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/fulltext/NoneFieldFullTextFunctionTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public NoneFieldFullTextFunctionTestCase(Supplier<TestCaseSupplier.TestCase> tes
2626
this.testCase = testCaseSupplier.get();
2727
}
2828

29-
public final void testFold() {
29+
public void testFold() {
3030
Expression expression = buildLiteralExpression(testCase);
3131
assertFalse("expected resolved", expression.typeResolved().unresolved());
3232
}

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/fulltext/QueryStringTests.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,14 @@ protected Expression build(Source source, List<Expression> args) {
8282
}
8383
return qstr;
8484
}
85+
86+
@Override
87+
public void testFold() {
88+
// Query string cannot be folded.
89+
}
90+
91+
@Override
92+
public void testSerializationOfSimple() {
93+
// Intentionally not tested here.
94+
}
8595
}

0 commit comments

Comments
 (0)