mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip e2e]Add wait time after chaos (#17999)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
280425e304
commit
e3807b97c1
@ -41,6 +41,11 @@ pipeline {
|
|||||||
name: 'image_tag',
|
name: 'image_tag',
|
||||||
defaultValue: 'master-latest'
|
defaultValue: 'master-latest'
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
description: 'Wait Time after chaos test',
|
||||||
|
name: 'idel_time',
|
||||||
|
defaultValue: '1'
|
||||||
|
)
|
||||||
string(
|
string(
|
||||||
description: 'Etcd Image Repository',
|
description: 'Etcd Image Repository',
|
||||||
name: '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') {
|
stage ('run e2e test after chaos') {
|
||||||
options {
|
options {
|
||||||
timeout(time: 5, unit: 'MINUTES') // timeout on this stage
|
timeout(time: 5, unit: 'MINUTES') // timeout on this stage
|
||||||
|
|||||||
@ -41,6 +41,11 @@ pipeline {
|
|||||||
name: 'image_tag',
|
name: 'image_tag',
|
||||||
defaultValue: 'master-latest'
|
defaultValue: 'master-latest'
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
description: 'Wait Time after chaos test',
|
||||||
|
name: 'idel_time',
|
||||||
|
defaultValue: '1'
|
||||||
|
)
|
||||||
string(
|
string(
|
||||||
description: 'Etcd Image Repository',
|
description: 'Etcd Image Repository',
|
||||||
name: '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') {
|
stage ('run e2e test after chaos') {
|
||||||
options {
|
options {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user