提交 4f3efe7a 编写于 作者: W wenzhouwww@live.cn

update case

上级 605c97af
...@@ -292,6 +292,9 @@ class TDTestCase: ...@@ -292,6 +292,9 @@ class TDTestCase:
os.system(" {} -f {} >>/dev/null 2>&1 ".format(benchmark_build_path , json_file)) os.system(" {} -f {} >>/dev/null 2>&1 ".format(benchmark_build_path , json_file))
def stop_leader_when_Benchmark_inserts(self,dbname , total_rows , json_file ): def stop_leader_when_Benchmark_inserts(self,dbname , total_rows , json_file ):
newTdSql=tdCom.newTdSql()
# stop follower and insert datas , update tables and create new stables # stop follower and insert datas , update tables and create new stables
tdDnodes=cluster.dnodes tdDnodes=cluster.dnodes
tdSql.execute(" drop database if exists {} ".format(dbname)) tdSql.execute(" drop database if exists {} ".format(dbname))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册