From 319b8412e43342125b338aae3c4cf49ac037a4a4 Mon Sep 17 00:00:00 2001 From: tomchon Date: Tue, 13 Jul 2021 18:11:31 +0800 Subject: [PATCH] [TD-5219]modify make_install.sh --- packaging/tools/make_install.sh | 2 +- tests/pytest/wal/sdbCompClusterReplica2.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packaging/tools/make_install.sh b/packaging/tools/make_install.sh index 2b631caa69..7851587c82 100755 --- a/packaging/tools/make_install.sh +++ b/packaging/tools/make_install.sh @@ -421,7 +421,7 @@ function install_service() { } function update_TDengine() { - echo -e "${GREEN}Start to update TDEngine...${NC}" + echo -e "${GREEN}Start to update TDengine...${NC}" # Stop the service if running if [ "$osType" != "Darwin" ]; then diff --git a/tests/pytest/wal/sdbCompClusterReplica2.py b/tests/pytest/wal/sdbCompClusterReplica2.py index e364145e19..dd5a375151 100644 --- a/tests/pytest/wal/sdbCompClusterReplica2.py +++ b/tests/pytest/wal/sdbCompClusterReplica2.py @@ -86,7 +86,7 @@ class TwoClients: tdSql.execute("alter table stb2_0 add column col2 binary(4)") tdSql.execute("alter table stb2_0 drop column col1") tdSql.execute("insert into stb2_0 values(1614218422000,8638,'R')") - tdSql.execute("drop dnode 10") + tdSql.execute("drop dnode 2") sleep(10) os.system("rm -rf /var/lib/taos/*") print("clear dnode chenhaoran02'data files") @@ -97,9 +97,6 @@ class TwoClients: tdSql.execute("create dnode chenhaoran02 ;") - - - # stop taosd and compact wal file os.system("ps -ef |grep taosd |grep -v 'grep' |awk '{print $2}'|xargs kill -2") sleep(10) -- GitLab