[TD-5733]<CI>add timeout for crash_gen

This commit is contained in:
liuyq-617 2021-08-03 10:48:46 +08:00
parent 7ae5f04d3e
commit 419033ff69
1 changed files with 20 additions and 17 deletions

5
Jenkinsfile vendored
View File

@ -223,12 +223,14 @@ pipeline {
steps {
pre_test()
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
timeout(time: 60, unit: 'MINUTES'){
sh '''
cd ${WKC}/tests/pytest
./crash_gen.sh -a -p -t 4 -s 2000
'''
}
}
timeout(time: 60, unit: 'MINUTES'){
sh '''
cd ${WKC}/tests/pytest
rm -rf /var/lib/taos/*
@ -241,6 +243,7 @@ pipeline {
rm -rf /var/log/taos/*
./handle_taosd_val_log.sh
'''
}
timeout(time: 45, unit: 'MINUTES'){
sh '''
date