File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
.buildkite/pipelines/flaky_tests Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 103103 {
104104 "key" : " cypress/cloud_security_posture_serverless" ,
105105 "name" : " [Serverless] Cloud Security Posture - Cypress"
106+ },
107+ {
108+ "key" : " elastic_synthetics/synthetics_plugin" ,
109+ "name" : " Synthetics plugin e2e tests - Elastic/Synthetics"
106110 }
107111 ]
108- }
112+ }
Original file line number Diff line number Diff line change @@ -193,6 +193,31 @@ for (const testSuite of testSuites) {
193193 } ,
194194 } ) ;
195195 break ;
196+ case 'elastic_synthetics' :
197+ const synthGroup = groups . find ( ( g ) => g . key === testSuite . key ) ;
198+ if ( ! synthGroup ) {
199+ throw new Error (
200+ `Group configuration was not found in groups.json for the following synthetics suite: {${ suiteName } }.`
201+ ) ;
202+ }
203+ steps . push ( {
204+ command : `.buildkite/scripts/steps/functional/${ suiteName } .sh` ,
205+ label : synthGroup . name ,
206+ agents : expandAgentQueue ( 'n2-4-spot' ) ,
207+ key : `synthetics-suite-${ suiteIndex ++ } ` ,
208+ depends_on : 'build' ,
209+ timeout_in_minutes : 30 ,
210+ parallelism : testSuite . count ,
211+ concurrency,
212+ concurrency_group : process . env . UUID ,
213+ concurrency_method : 'eager' ,
214+ cancel_on_build_failing : true ,
215+ retry : {
216+ automatic : [ { exit_status : '-1' , limit : 3 } ] ,
217+ } ,
218+ } ) ;
219+ break ;
220+
196221 default :
197222 throw new Error ( `unknown test suite: ${ testSuite . key } ` ) ;
198223 }
You can’t perform that action at this time.
0 commit comments