[skip e2e]Add wait time after chaos (#17999)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/17977/head
zhuwenxing 2022-07-01 17:30:19 +08:00 committed by GitHub
parent 280425e304
commit e3807b97c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 2 deletions

View File

@ -41,6 +41,11 @@ pipeline {
name: 'image_tag',
defaultValue: 'master-latest'
)
string(
description: 'Wait Time after chaos test',
name: 'idel_time',
defaultValue: '1'
)
string(
description: 'Etcd Image Repository',
name: 'etcd_image_repository',
@ -237,8 +242,21 @@ pipeline {
}
}
}
}
}
stage ('Milvus Idle Time') {
steps {
container('main') {
dir ('tests/python_client/chaos') {
script {
echo "sleep ${params.idel_time}m"
sh "sleep ${params.idel_time}m"
}
}
}
}
}
stage ('run e2e test after chaos') {
options {
timeout(time: 5, unit: 'MINUTES') // timeout on this stage

View File

@ -41,6 +41,11 @@ pipeline {
name: 'image_tag',
defaultValue: 'master-latest'
)
string(
description: 'Wait Time after chaos test',
name: 'idel_time',
defaultValue: '1'
)
string(
description: 'Etcd Image Repository',
name: 'etcd_image_repository',
@ -239,7 +244,20 @@ pipeline {
}
}
}
}
}
stage ('Milvus Idle Time') {
steps {
container('main') {
dir ('tests/python_client/chaos') {
script {
echo "sleep ${params.idel_time}m"
sh "sleep ${params.idel_time}m"
}
}
}
}
}
stage ('run e2e test after chaos') {
options {