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

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
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',
@ -238,6 +243,19 @@ 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 {

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',
@ -240,6 +245,19 @@ 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 {