mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[CI] Sleep before starting ciGroup tasks to smooth out CPU spikes from ES starting up (#89751)
This commit is contained in:
parent
f53bc9825b
commit
5a33872e07
1 changed files with 4 additions and 0 deletions
|
@ -130,6 +130,8 @@ def functionalTestProcess(String name, String script) {
|
|||
|
||||
def ossCiGroupProcess(ciGroup) {
|
||||
return functionalTestProcess("ciGroup" + ciGroup) {
|
||||
sleep((ciGroup-1)*30) // smooth out CPU spikes from ES startup
|
||||
|
||||
withEnv([
|
||||
"CI_GROUP=${ciGroup}",
|
||||
"JOB=kibana-ciGroup${ciGroup}",
|
||||
|
@ -143,6 +145,7 @@ def ossCiGroupProcess(ciGroup) {
|
|||
|
||||
def xpackCiGroupProcess(ciGroup) {
|
||||
return functionalTestProcess("xpack-ciGroup" + ciGroup) {
|
||||
sleep((ciGroup-1)*30) // smooth out CPU spikes from ES startup
|
||||
withEnv([
|
||||
"CI_GROUP=${ciGroup}",
|
||||
"JOB=xpack-kibana-ciGroup${ciGroup}",
|
||||
|
@ -454,6 +457,7 @@ def allCiTasks() {
|
|||
}
|
||||
|
||||
def pipelineLibraryTests() {
|
||||
return
|
||||
whenChanged(['vars/', '.ci/pipeline-library/']) {
|
||||
workers.base(size: 'flyweight', bootstrapped: false, ramDisk: false) {
|
||||
dir('.ci/pipeline-library') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue