[TD-2598] feature: C# taosdemo, move test case early.

This commit is contained in:
Shuduo Sang 2021-01-12 22:33:41 +08:00
parent a26e273303
commit 5970814900
1 changed files with 9 additions and 8 deletions

View File

@ -60,6 +60,15 @@ matrix:
pip3 install guppy3 pip3 install guppy3
pip3 install --user ${TRAVIS_BUILD_DIR}/src/connector/python/linux/python3/ pip3 install --user ${TRAVIS_BUILD_DIR}/src/connector/python/linux/python3/
cd ${TRAVIS_BUILD_DIR}/tests/examples/C#/taosdemo
mcs -out:taosdemo *.cs || travis_terminate $?
pkill -TERM -x taosd
fuser -k -n tcp 6030
sleep 1
taosd > /dev/null &
sleep 1
mono taosdemo -Q DEFAULT -y || travis_terminate $?
cd ${TRAVIS_BUILD_DIR}/tests cd ${TRAVIS_BUILD_DIR}/tests
./test-all.sh smoke || travis_terminate $? ./test-all.sh smoke || travis_terminate $?
sleep 1 sleep 1
@ -75,14 +84,6 @@ matrix:
./valgrind-test.sh 2>&1 > mem-error-out.log ./valgrind-test.sh 2>&1 > mem-error-out.log
sleep 1 sleep 1
cd ${TRAVIS_BUILD_DIR}/tests/examples/C#/taosdemo
mcs -out:taosdemo *.cs || travis_terminate $?
pkill -TERM -x taosd
fuser -k -n tcp 6030
sleep 1
taosd > /dev/null &
sleep 1
mono taosdemo -Q DEFAULT -y || travis_terminate $?
# Color setting # Color setting
RED='\033[0;31m' RED='\033[0;31m'