remove data files before taosd start for JDBC and Unit test

This commit is contained in:
Ping Xiao 2021-03-11 13:37:34 +08:00
parent a618c58b2b
commit 9d13525f30
1 changed files with 2 additions and 0 deletions

View File

@ -316,6 +316,7 @@ if [ "$2" != "sim" ] && [ "$2" != "python" ] && [ "$2" != "unit" ] && [ "$1" ==
cd debug/
stopTaosd
rm -rf /var/lib/taos/*
nohup build/bin/taosd -c /etc/taos/ > /dev/null 2>&1 &
sleep 30
@ -358,6 +359,7 @@ if [ "$2" != "sim" ] && [ "$2" != "python" ] && [ "$2" != "jdbc" ] && [ "$1" ==
pwd
cd debug/build/bin
rm -rf /var/lib/taos/*
nohup ./taosd -c /etc/taos/ > /dev/null 2>&1 &
sleep 30