mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Synthetics] Enable synthetics e2e in flaky test runner !! (#210778)
## Summary Enable synthetics e2e in flaky test runner !! 
This commit is contained in:
parent
7683f01564
commit
5393a45ae7
2 changed files with 30 additions and 1 deletions
|
@ -103,6 +103,10 @@
|
|||
{
|
||||
"key": "cypress/cloud_security_posture_serverless",
|
||||
"name": "[Serverless] Cloud Security Posture - Cypress"
|
||||
},
|
||||
{
|
||||
"key": "elastic_synthetics/synthetics_plugin",
|
||||
"name": "Synthetics plugin e2e tests - Elastic/Synthetics"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -193,6 +193,31 @@ for (const testSuite of testSuites) {
|
|||
},
|
||||
});
|
||||
break;
|
||||
case 'elastic_synthetics':
|
||||
const synthGroup = groups.find((g) => g.key === testSuite.key);
|
||||
if (!synthGroup) {
|
||||
throw new Error(
|
||||
`Group configuration was not found in groups.json for the following synthetics suite: {${suiteName}}.`
|
||||
);
|
||||
}
|
||||
steps.push({
|
||||
command: `.buildkite/scripts/steps/functional/${suiteName}.sh`,
|
||||
label: synthGroup.name,
|
||||
agents: expandAgentQueue('n2-4-spot'),
|
||||
key: `synthetics-suite-${suiteIndex++}`,
|
||||
depends_on: 'build',
|
||||
timeout_in_minutes: 30,
|
||||
parallelism: testSuite.count,
|
||||
concurrency,
|
||||
concurrency_group: process.env.UUID,
|
||||
concurrency_method: 'eager',
|
||||
cancel_on_build_failing: true,
|
||||
retry: {
|
||||
automatic: [{ exit_status: '-1', limit: 3 }],
|
||||
},
|
||||
});
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new Error(`unknown test suite: ${testSuite.key}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue