[TD-2598] feature: C# taosdemo, CI integration. kill taosd after test.

This commit is contained in:
Shuduo Sang 2021-01-13 10:53:59 +08:00
parent 686b90998d
commit b99e6b571f
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ matrix:
${TRAVIS_BUILD_DIR}/debug/build/bin/taosd -c ${TRAVIS_BUILD_DIR}/debug/test/cfg > /dev/null &
sleep 5
mono taosdemo -Q DEFAULT -y || travis_terminate $?
pkill -KILL -x taosd
fuser -k -n tcp 6030
sleep 1
cd ${TRAVIS_BUILD_DIR}/tests
./test-all.sh smoke || travis_terminate $?