Merge pull request #12452 from taosdata/test/TD-13456

ci: enhancement - set default timeout
This commit is contained in:
Shengliang Guan 2022-05-13 23:03:09 +08:00 committed by GitHub
commit c33b336761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -233,7 +233,7 @@ pipeline {
changeRequest() changeRequest()
} }
steps { steps {
timeout(time: 20, unit: 'MINUTES'){ timeout(time: 40, unit: 'MINUTES'){
pre_test() pre_test()
script { script {
sh ''' sh '''
@ -245,8 +245,9 @@ pipeline {
''' '''
sh ''' sh '''
cd ${WKC}/tests/parallel_test cd ${WKC}/tests/parallel_test
export DEFAULT_RETRY_TIME=2
date date
time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME} -l ${WKDIR}/log timeout 2100 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME} -l ${WKDIR}/log -o 480
''' '''
} }
} }