提交 df1bed48 编写于 作者: T tangfangzhi

fix: dead lock in case of some test failure

上级 4adfb466
...@@ -333,18 +333,28 @@ pipeline { ...@@ -333,18 +333,28 @@ pipeline {
sleep 20 sleep 20
service taosd status service taosd status
''' '''
}
}
}
script {
linux_ready = 1 linux_ready = 1
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
timeout(time: 40, unit: 'MINUTES'){
script {
sh ''' sh '''
cd ${WKC}/tests/parallel_test cd ${WKC}/tests/parallel_test
export DEFAULT_RETRY_TIME=2 export DEFAULT_RETRY_TIME=2
date date
timeout 2100 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME}_${BUILD_ID} -l ${WKDIR}/log -o 480 timeout 2100 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME}_${BUILD_ID} -l ${WKDIR}/log -o 480
''' '''
while(win_test_stage == 0){
sleep(12)
} }
} }
} }
script {
while(win_test_stage == 0){
sleep(12)
}
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册