提交 7dbd8c3f 编写于 作者: J jiacy-jcy

update test case for delete data

上级 a02a075c
...@@ -81,6 +81,7 @@ class TDTestCase: ...@@ -81,6 +81,7 @@ class TDTestCase:
'binary':self.binary_val, 'binary':self.binary_val,
'nchar':self.nchar_val 'nchar':self.nchar_val
} }
self.run_time = 2
def insert_base_data(self,col_type,tbname,rows,base_data): def insert_base_data(self,col_type,tbname,rows,base_data):
for i in range(rows): for i in range(rows):
if col_type.lower() == 'tinyint': if col_type.lower() == 'tinyint':
...@@ -290,6 +291,9 @@ class TDTestCase: ...@@ -290,6 +291,9 @@ class TDTestCase:
self.delete_data_ntb() self.delete_data_ntb()
self.delete_data_ctb() self.delete_data_ctb()
self.delete_data_stb() self.delete_data_stb()
tdDnodes.stoptaosd(1)
tdDnodes.starttaosd(1)
self.delete_data_ntb()
def stop(self): def stop(self):
tdSql.close() tdSql.close()
tdLog.success("%s successfully executed" % __file__) tdLog.success("%s successfully executed" % __file__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册