File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/fulltext Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -290,8 +290,6 @@ tests:
290
290
- class : org.elasticsearch.validation.DotPrefixClientYamlTestSuiteIT
291
291
method : test {p0=dot_prefix/10_basic/Deprecated index template with a dot prefix index pattern}
292
292
issue : https://github.com/elastic/elasticsearch/issues/113529
293
- - class : org.elasticsearch.xpack.esql.expression.function.fulltext.QueryStringFunctionTests
294
- issue : https://github.com/elastic/elasticsearch/issues/113496
295
293
- class : org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT
296
294
method : test {p0=search/180_locale_dependent_mapping/Test Index and Search locale dependent mappings / dates}
297
295
issue : https://github.com/elastic/elasticsearch/issues/113537
Original file line number Diff line number Diff line change 18
18
import org .elasticsearch .xpack .esql .expression .function .FunctionName ;
19
19
import org .elasticsearch .xpack .esql .expression .function .TestCaseSupplier ;
20
20
import org .hamcrest .Matcher ;
21
+ import org .junit .BeforeClass ;
21
22
22
23
import java .util .Arrays ;
23
24
import java .util .LinkedList ;
24
25
import java .util .List ;
25
26
import java .util .function .Supplier ;
26
27
28
+ import static org .elasticsearch .xpack .esql .action .EsqlCapabilities .Cap .QSTR_FUNCTION ;
27
29
import static org .hamcrest .Matchers .equalTo ;
28
30
29
31
@ FunctionName ("qstr" )
30
32
public class QueryStringFunctionTests extends AbstractFunctionTestCase {
31
33
34
+ @ BeforeClass
35
+ public static void checkFunctionEnabled () {
36
+ assumeTrue ("QSTR capability should be enabled " , QSTR_FUNCTION .isEnabled ());
37
+ }
38
+
32
39
public QueryStringFunctionTests (@ Name ("TestCase" ) Supplier <TestCaseSupplier .TestCase > testCaseSupplier ) {
33
40
this .testCase = testCaseSupplier .get ();
34
41
}
You can’t perform that action at this time.
0 commit comments