提交 df1bed48 编写于 作者: T tangfangzhi

fix: dead lock in case of some test failure

上级 4adfb466
......@@ -333,19 +333,29 @@ pipeline {
sleep 20
service taosd status
'''
linux_ready = 1
}
}
}
script {
linux_ready = 1
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
timeout(time: 40, unit: 'MINUTES'){
script {
sh '''
cd ${WKC}/tests/parallel_test
export DEFAULT_RETRY_TIME=2
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
'''
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.
先完成此消息的编辑!
想要评论请 注册