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 @@ -581,12 +581,6 @@ tests:
581581- class : org.elasticsearch.xpack.esql.action.EsqlActionBreakerIT 
582582  method : testTopNPushedToLucene 
583583  issue : https://github.com/elastic/elasticsearch/issues/130505 
584- - class : org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT 
585-   method : test {yaml=/52_esql_insist_operator_synthetic_source/FROM with INSIST_🐔and LIMIT 1} 
586-   issue : https://github.com/elastic/elasticsearch/issues/130506 
587- - class : org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT 
588-   method : test {yaml=/52_esql_insist_operator_synthetic_source/FROM with INSIST_🐔} 
589-   issue : https://github.com/elastic/elasticsearch/issues/130507 
590584- class : org.elasticsearch.common.ssl.DefaultJdkTrustConfigTests 
591585  method : testGetSystemTrustStoreWithNoSystemProperties 
592586  issue : https://github.com/elastic/elasticsearch/issues/130517 
Original file line number Diff line number Diff line change 1010import  com .carrotsearch .randomizedtesting .annotations .Name ;
1111import  com .carrotsearch .randomizedtesting .annotations .ParametersFactory ;
1212
13+ import  org .elasticsearch .Build ;
1314import  org .elasticsearch .common .settings .SecureString ;
1415import  org .elasticsearch .common .settings .Settings ;
1516import  org .elasticsearch .common .util .concurrent .ThreadContext ;
2021import  org .elasticsearch .test .rest .yaml .ESClientYamlSuiteTestCase ;
2122import  org .junit .ClassRule ;
2223
24+ import  java .util .ArrayList ;
25+ import  java .util .List ;
26+ 
2327public  class  LogsdbTestSuiteIT  extends  ESClientYamlSuiteTestCase  {
2428
2529    private  static  final  String  USER  = "test_admin" ;
@@ -43,7 +47,19 @@ public LogsdbTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
4347
4448    @ ParametersFactory 
4549    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 ;
4763    }
4864
4965    @ Override 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments