提交 4ec7e676 编写于 作者: W wenzhouwww

[TD-12191]<test>(query): update case and RUN CI

上级 8e567451
...@@ -96,11 +96,11 @@ class TDTestCase: ...@@ -96,11 +96,11 @@ class TDTestCase:
sys_output = subprocess.check_output(cmd, shell=True).decode("utf-8") sys_output = subprocess.check_output(cmd, shell=True).decode("utf-8")
print(sys_output) print(sys_output)
cmd_insert = "%staosBenchmark -y -n 10 -t 10 -S 10000 > /dev/null 2>&1 & " % (build_path) cmd_insert = "%staosBenchmark -y -n 10 -t 10 -S 10000 " % (build_path)
os.system(cmd_insert) os.system(cmd_insert)
sleep(5) sleep(5)
tdSql.query("select count(*) from meters") tdSql.query("select count(*) from test.meters")
tdSql.checkData(0,0,10) tdSql.checkData(0,0,100)
def stop(self): def stop(self):
tdSql.close() tdSql.close()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册