File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
x-pack/plugin/logsdb/src/yamlRestTest/java/org/elasticsearch/xpack/logsdb Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -584,12 +584,6 @@ tests:
584
584
- class : org.elasticsearch.xpack.esql.action.EsqlActionBreakerIT
585
585
method : testTopNPushedToLucene
586
586
issue : https://github.com/elastic/elasticsearch/issues/130505
587
- - class : org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
588
- method : test {yaml=/52_esql_insist_operator_synthetic_source/FROM with INSIST_🐔and LIMIT 1}
589
- issue : https://github.com/elastic/elasticsearch/issues/130506
590
- - class : org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
591
- method : test {yaml=/52_esql_insist_operator_synthetic_source/FROM with INSIST_🐔}
592
- issue : https://github.com/elastic/elasticsearch/issues/130507
593
587
- class : org.elasticsearch.common.ssl.DefaultJdkTrustConfigTests
594
588
method : testGetSystemTrustStoreWithNoSystemProperties
595
589
issue : https://github.com/elastic/elasticsearch/issues/130517
Original file line number Diff line number Diff line change 10
10
import com .carrotsearch .randomizedtesting .annotations .Name ;
11
11
import com .carrotsearch .randomizedtesting .annotations .ParametersFactory ;
12
12
13
+ import org .elasticsearch .Build ;
13
14
import org .elasticsearch .common .settings .SecureString ;
14
15
import org .elasticsearch .common .settings .Settings ;
15
16
import org .elasticsearch .common .util .concurrent .ThreadContext ;
20
21
import org .elasticsearch .test .rest .yaml .ESClientYamlSuiteTestCase ;
21
22
import org .junit .ClassRule ;
22
23
24
+ import java .util .ArrayList ;
25
+ import java .util .List ;
26
+
23
27
public class LogsdbTestSuiteIT extends ESClientYamlSuiteTestCase {
24
28
25
29
private static final String USER = "test_admin" ;
@@ -43,7 +47,19 @@ public LogsdbTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
43
47
44
48
@ ParametersFactory
45
49
public static Iterable <Object []> parameters () throws Exception {
46
- return ESClientYamlSuiteTestCase .createParameters ();
50
+ // Filter out 52_esql_insist_operator_synthetic_source.yml suite for snapshot builds:
51
+ // (esql doesn't use feature flags and all experimental features are just enabled if build is snapshot)
52
+
53
+ List <Object []> filtered = new ArrayList <>();
54
+ for (Object [] params : ESClientYamlSuiteTestCase .createParameters ()) {
55
+ ClientYamlTestCandidate candidate = (ClientYamlTestCandidate ) params [0 ];
56
+ if (candidate .getRestTestSuite ().getName ().equals ("52_esql_insist_operator_synthetic_source" )
57
+ && Build .current ().isSnapshot () == false ) {
58
+ continue ;
59
+ }
60
+ filtered .add (new Object [] { candidate });
61
+ }
62
+ return filtered ;
47
63
}
48
64
49
65
@ Override
You can’t perform that action at this time.
0 commit comments