Merge pull request #3930 from taosdata/hotfix/testcase
<test> balance jenkins load
This commit is contained in:
commit
08fdc299b6
|
@ -4,13 +4,35 @@ pipeline {
|
|||
WK = '/var/lib/jenkins/workspace/TDinternal'
|
||||
WKC= '/var/lib/jenkins/workspace/TDinternal/community'
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('pre build'){
|
||||
agent{label 'master'}
|
||||
steps{
|
||||
sh '''
|
||||
cd ${WKC}
|
||||
td=`git diff develop remotes/origin/develop`
|
||||
if [ ! $td ];then
|
||||
echo "no changes,skip build"
|
||||
exit 0
|
||||
fi
|
||||
echo "check OK!"
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Parallel test stage') {
|
||||
parallel {
|
||||
stage('pytest') {
|
||||
agent{label 'master'}
|
||||
steps {
|
||||
sh '''
|
||||
cd ${WKC}
|
||||
td=`git diff develop remotes/origin/develop`
|
||||
if [ ! $td ];then
|
||||
echo "no changes,skip build"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
date
|
||||
cd ${WKC}
|
||||
git checkout develop
|
||||
|
@ -36,6 +58,12 @@ pipeline {
|
|||
agent{label '184'}
|
||||
steps {
|
||||
sh '''
|
||||
cd ${WKC}
|
||||
td=`git diff develop remotes/origin/develop`
|
||||
if [ ! $td ];then
|
||||
echo "no changes,skip build"
|
||||
exit 0
|
||||
fi
|
||||
date
|
||||
cd ${WKC}
|
||||
git checkout develop
|
||||
|
@ -62,7 +90,12 @@ pipeline {
|
|||
agent{label "185"}
|
||||
steps {
|
||||
sh '''
|
||||
|
||||
cd ${WKC}
|
||||
td=`git diff develop remotes/origin/develop`
|
||||
if [ ! $td ];then
|
||||
echo "no changes,skip build"
|
||||
exit 0
|
||||
fi
|
||||
cd ${WKC}
|
||||
git checkout develop
|
||||
git pull
|
||||
|
@ -91,6 +124,12 @@ pipeline {
|
|||
agent{label "186"}
|
||||
steps {
|
||||
sh '''
|
||||
cd ${WKC}
|
||||
td=`git diff develop remotes/origin/develop`
|
||||
if [ ! $td ];then
|
||||
echo "no changes,skip build"
|
||||
exit 0
|
||||
fi
|
||||
date
|
||||
cd ${WKC}
|
||||
git checkout develop
|
||||
|
|
|
@ -200,3 +200,6 @@
|
|||
|
||||
./test.sh -f unique/http/admin.sim
|
||||
./test.sh -f unique/http/opentsdb.sim
|
||||
|
||||
./test.sh -f unique/import/replica2.sim
|
||||
./test.sh -f unique/import/replica3.sim
|
||||
|
|
|
@ -81,3 +81,10 @@ cd ../../../debug; make
|
|||
./test.sh -f unique/db/replica_reduce32.sim
|
||||
./test.sh -f unique/db/replica_reduce31.sim
|
||||
./test.sh -f unique/db/replica_part.sim
|
||||
|
||||
./test.sh -f unique/vnode/many.sim
|
||||
./test.sh -f unique/vnode/replica2_basic2.sim
|
||||
./test.sh -f unique/vnode/replica2_repeat.sim
|
||||
./test.sh -f unique/vnode/replica3_basic.sim
|
||||
./test.sh -f unique/vnode/replica3_repeat.sim
|
||||
./test.sh -f unique/vnode/replica3_vgroup.sim
|
|
@ -1,5 +1,3 @@
|
|||
./test.sh -f unique/import/replica2.sim
|
||||
./test.sh -f unique/import/replica3.sim
|
||||
|
||||
./test.sh -f unique/stable/balance_replica1.sim
|
||||
./test.sh -f unique/stable/dnode2_stop.sim
|
||||
|
@ -21,12 +19,7 @@
|
|||
./test.sh -f unique/mnode/mgmt34.sim
|
||||
./test.sh -f unique/mnode/mgmtr2.sim
|
||||
|
||||
./test.sh -f unique/vnode/many.sim
|
||||
./test.sh -f unique/vnode/replica2_basic2.sim
|
||||
./test.sh -f unique/vnode/replica2_repeat.sim
|
||||
./test.sh -f unique/vnode/replica3_basic.sim
|
||||
./test.sh -f unique/vnode/replica3_repeat.sim
|
||||
./test.sh -f unique/vnode/replica3_vgroup.sim
|
||||
|
||||
|
||||
./test.sh -f general/parser/stream_on_sys.sim
|
||||
./test.sh -f general/stream/metrics_del.sim
|
||||
|
|
Loading…
Reference in New Issue