提交 e5470224 编写于 作者: S Shengliang Guan

test: close all dnodes when tsim execution is complete

上级 dfa88ea4
...@@ -8,9 +8,9 @@ UNAME_BIN=`which uname` ...@@ -8,9 +8,9 @@ UNAME_BIN=`which uname`
OS_TYPE=`$UNAME_BIN` OS_TYPE=`$UNAME_BIN`
PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'` PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
echo "Killing taosd processes " $PID
while [ -n "$PID" ]; do while [ -n "$PID" ]; do
#echo "Killing taosd processes " $PID #echo "Killing taosd processes " $PID
kill $PID kill $PID
PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'` PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
done done
...@@ -141,6 +141,7 @@ if [ -n "$FILE_NAME" ]; then ...@@ -141,6 +141,7 @@ if [ -n "$FILE_NAME" ]; then
echo "Execute result:" $result echo "Execute result:" $result
if [ $result -eq 0 ]; then if [ $result -eq 0 ]; then
$CODE_DIR/sh/sigint_stop_dnodes.sh
$CODE_DIR/sh/checkAsan.sh $CODE_DIR/sh/checkAsan.sh
else else
echo "TSIM has asan errors" echo "TSIM has asan errors"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册