提交 10101cb8 编写于 作者: W wenzhouwww@live.cn

update

上级 f39f824c
...@@ -621,6 +621,8 @@ class TDTestCase: ...@@ -621,6 +621,8 @@ class TDTestCase:
def restart_taosd_query_udf(self): def restart_taosd_query_udf(self):
self.create_udf_function()
for i in range(5): for i in range(5):
tdLog.info(" this is %d_th restart taosd " %i) tdLog.info(" this is %d_th restart taosd " %i)
tdSql.execute("use db ") tdSql.execute("use db ")
...@@ -634,7 +636,6 @@ class TDTestCase: ...@@ -634,7 +636,6 @@ class TDTestCase:
time.sleep(2) time.sleep(2)
def run(self): # sourcery skip: extract-duplicate-method, remove-redundant-fstring def run(self): # sourcery skip: extract-duplicate-method, remove-redundant-fstring
print(" env is ok for all ") print(" env is ok for all ")
...@@ -643,14 +644,15 @@ class TDTestCase: ...@@ -643,14 +644,15 @@ class TDTestCase:
self.create_udf_function() self.create_udf_function()
self.basic_udf_query() self.basic_udf_query()
self.loop_kill_udfd() self.loop_kill_udfd()
#self.restart_taosd_query_udf()
self.unexpected_create() self.unexpected_create()
tdSql.execute(" drop function udf1 ") tdSql.execute(" drop function udf1 ")
tdSql.execute(" drop function udf2 ") tdSql.execute(" drop function udf2 ")
self.create_udf_function() self.create_udf_function()
sleep(2) time.sleep(2)
self.basic_udf_query() self.basic_udf_query()
self.test_function_name() self.test_function_name()
self.restart_taosd_query_udf()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册