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'
|
WK = '/var/lib/jenkins/workspace/TDinternal'
|
||||||
WKC= '/var/lib/jenkins/workspace/TDinternal/community'
|
WKC= '/var/lib/jenkins/workspace/TDinternal/community'
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
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') {
|
stage('Parallel test stage') {
|
||||||
parallel {
|
parallel {
|
||||||
stage('pytest') {
|
stage('pytest') {
|
||||||
agent{label 'master'}
|
agent{label 'master'}
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
|
cd ${WKC}
|
||||||
|
td=`git diff develop remotes/origin/develop`
|
||||||
|
if [ ! $td ];then
|
||||||
|
echo "no changes,skip build"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
date
|
date
|
||||||
cd ${WKC}
|
cd ${WKC}
|
||||||
git checkout develop
|
git checkout develop
|
||||||
|
@ -36,6 +58,12 @@ pipeline {
|
||||||
agent{label '184'}
|
agent{label '184'}
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
|
cd ${WKC}
|
||||||
|
td=`git diff develop remotes/origin/develop`
|
||||||
|
if [ ! $td ];then
|
||||||
|
echo "no changes,skip build"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
date
|
date
|
||||||
cd ${WKC}
|
cd ${WKC}
|
||||||
git checkout develop
|
git checkout develop
|
||||||
|
@ -62,7 +90,12 @@ pipeline {
|
||||||
agent{label "185"}
|
agent{label "185"}
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
|
cd ${WKC}
|
||||||
|
td=`git diff develop remotes/origin/develop`
|
||||||
|
if [ ! $td ];then
|
||||||
|
echo "no changes,skip build"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
cd ${WKC}
|
cd ${WKC}
|
||||||
git checkout develop
|
git checkout develop
|
||||||
git pull
|
git pull
|
||||||
|
@ -91,6 +124,12 @@ pipeline {
|
||||||
agent{label "186"}
|
agent{label "186"}
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
|
cd ${WKC}
|
||||||
|
td=`git diff develop remotes/origin/develop`
|
||||||
|
if [ ! $td ];then
|
||||||
|
echo "no changes,skip build"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
date
|
date
|
||||||
cd ${WKC}
|
cd ${WKC}
|
||||||
git checkout develop
|
git checkout develop
|
||||||
|
|
|
@ -199,4 +199,7 @@
|
||||||
./test.sh -f unique/dnode/vnode_clean.sim
|
./test.sh -f unique/dnode/vnode_clean.sim
|
||||||
|
|
||||||
./test.sh -f unique/http/admin.sim
|
./test.sh -f unique/http/admin.sim
|
||||||
./test.sh -f unique/http/opentsdb.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_reduce32.sim
|
||||||
./test.sh -f unique/db/replica_reduce31.sim
|
./test.sh -f unique/db/replica_reduce31.sim
|
||||||
./test.sh -f unique/db/replica_part.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/balance_replica1.sim
|
||||||
./test.sh -f unique/stable/dnode2_stop.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/mgmt34.sim
|
||||||
./test.sh -f unique/mnode/mgmtr2.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/parser/stream_on_sys.sim
|
||||||
./test.sh -f general/stream/metrics_del.sim
|
./test.sh -f general/stream/metrics_del.sim
|
||||||
|
|
Loading…
Reference in New Issue