未验证 提交 8c1c00c8 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #10090 from taosdata/append_commit_data_develop_opt

optimize append_commit_data.py, shorten its execution time
...@@ -59,7 +59,7 @@ class TDTestCase: ...@@ -59,7 +59,7 @@ class TDTestCase:
tdSql.query("select * from db.t1") tdSql.query("select * from db.t1")
tdSql.checkRows(insertRows) tdSql.checkRows(insertRows)
for k in range(0,100): for k in range(0,10):
tdLog.info("insert %d rows" % (insertRows)) tdLog.info("insert %d rows" % (insertRows))
temp='' temp=''
for i in range (0,insertRows): for i in range (0,insertRows):
...@@ -75,6 +75,7 @@ class TDTestCase: ...@@ -75,6 +75,7 @@ class TDTestCase:
tdDnodes.start(1) tdDnodes.start(1)
tdSql.query("select * from db.t1") tdSql.query("select * from db.t1")
tdSql.checkRows(insertRows+200*k) tdSql.checkRows(insertRows+200*k)
insertRows = insertRows * 2
print("==========step3") print("==========step3")
print("insert into another table ") print("insert into another table ")
s = 'use db' s = 'use db'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册