mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add wait time after chaos (#17999)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/17977/head
parent
280425e304
commit
e3807b97c1
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue