update case

This commit is contained in:
wenzhouwww@live.cn 2022-07-29 16:59:10 +08:00
parent 605c97af45
commit 4f3efe7af6
1 changed files with 3 additions and 0 deletions

View File

@ -292,6 +292,9 @@ class TDTestCase:
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 ):
newTdSql=tdCom.newTdSql()
# stop follower and insert datas , update tables and create new stables
tdDnodes=cluster.dnodes
tdSql.execute(" drop database if exists {} ".format(dbname))