update case

This commit is contained in:
wenzhouwww@live.cn 2022-07-28 09:33:58 +08:00
parent 2d3b32bceb
commit 6c1cd18c65
1 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ class TDTestCase:
self.create_database(dbname = db_name ,replica_num= self.replica , vgroup_nums= 1) self.create_database(dbname = db_name ,replica_num= self.replica , vgroup_nums= 1)
self.create_stable_insert_datas(dbname = db_name , stablename = stablename , tb_nums= 10 ,row_nums= 10 ) self.create_stable_insert_datas(dbname = db_name , stablename = stablename , tb_nums= 10 ,row_nums= 10 )
self.stop_dnode_id = self._get_stop_dnode_id(db_name) self.stop_dnode_id = self._get_stop_dnode_id(db_name)
print("dnode_id:" , self.stop_dnode_id ) # print("dnode_id:" , self.stop_dnode_id )
# check rows of datas # check rows of datas
@ -424,7 +424,7 @@ class TDTestCase:
start = time.time() start = time.time()
tdDnodes=cluster.dnodes tdDnodes=cluster.dnodes
self.stop_dnode_id = self._get_stop_dnode_id(dbname) self.stop_dnode_id = self._get_stop_dnode_id(dbname)
print("dnode_id:" , self.stop_dnode_id ) # print("dnode_id:" , self.stop_dnode_id )
# begin restart dnode # begin restart dnode
tdDnodes[self.stop_dnode_id-1].stoptaosd() tdDnodes[self.stop_dnode_id-1].stoptaosd()
self.wait_stop_dnode_OK(newTdSql) self.wait_stop_dnode_OK(newTdSql)