[test: stop taosd by kill -9 pid]

This commit is contained in:
plum-lihui 2022-04-16 10:13:48 +08:00
parent bd18fe607e
commit 6b9d69b122
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ fi
PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
while [ -n "$PID" ]; do
echo kill -9 $PID
pkill -9 taosd
#pkill -9 taosd
kill -9 $PID
echo "Killing processes locking on port 6030"
if [ "$OS_TYPE" != "Darwin" ]; then
fuser -k -n tcp 6030