提交 e930bf93 编写于 作者: L liuyq-617

[TD-2741][TD-2736]<test>add timeout

上级 20b8d079
......@@ -87,12 +87,15 @@ pipeline {
steps {
pre_test()
timeout(time: 90, unit: 'MINUTES'){
sh '''
cd ${WKC}/tests
find pytest -name '*'sql|xargs rm -rf
./test-all.sh p1
date'''
}
}
}
stage('python_2') {
agent{label 'p2'}
......@@ -113,6 +116,7 @@ pipeline {
stage('test_b1') {
agent{label 'b1'}
steps {
timeout(time: 90, unit: 'MINUTES'){
pre_test()
sh '''
cd ${WKC}/tests
......@@ -120,6 +124,7 @@ pipeline {
date'''
}
}
}
stage('test_crash_gen') {
agent{label "b2"}
......@@ -137,6 +142,7 @@ pipeline {
./handle_crash_gen_val_log.sh
'''
}
timeout(time: 90, unit: 'MINUTES'){
sh '''
date
cd ${WKC}/tests
......@@ -145,6 +151,7 @@ pipeline {
'''
}
}
}
stage('test_valgrind') {
agent{label "b3"}
......@@ -158,6 +165,7 @@ pipeline {
./handle_val_log.sh
'''
}
timeout(time: 90, unit: 'MINUTES'){
sh '''
date
cd ${WKC}/tests
......@@ -165,6 +173,7 @@ pipeline {
date'''
}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册