Merge pull request #1563 from taosdata/add-testcase-execution-in-ci

Add testcase execution in ci
This commit is contained in:
slguan 2020-04-09 15:47:11 +08:00 committed by GitHub
commit c65f4afbb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ if [ -n "$PID" ]; then
sudo systemctl stop taosd
fi
PID=`ps -ef|grep taosd | grep -v grep | awk '{print $2}'`
PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
if [ -n "$PID" ]; then
echo sudo kill -9 $PID
sudo kill -9 $PID
sudo pkill taosd
fi