提交 17238d69 编写于 作者: haoranc's avatar haoranc

modify taosdemo query test case

上级 24ba86c4
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"super_table_query": { "super_table_query": {
"stblname": "stb0", "stblname": "stb0",
"query_interval": 10000, "query_interval": 10000,
"concurrent": 9, "threads": 9,
"sqls": [ "sqls": [
{ {
"sql": "select last_row(*) from xxxx", "sql": "select last_row(*) from xxxx",
......
...@@ -174,15 +174,15 @@ class TDTestCase: ...@@ -174,15 +174,15 @@ class TDTestCase:
"2020-11-01 00:00:00.004") "2020-11-01 00:00:00.004")
# query times less than or equal to 100 # query times less than or equal to 100
os.system( assert os.system(
"%staosBenchmark -f tools/taosdemoAllTest/queryInsertdata.json" % "%staosBenchmark -f tools/taosdemoAllTest/queryInsertdata.json" %
binPath) binPath) == 0
os.system( assert os.system(
"%staosBenchmark -f tools/taosdemoAllTest/querySpeciMutisql100.json" % "%staosBenchmark -f tools/taosdemoAllTest/querySpeciMutisql100.json" %
binPath) binPath) != 0
os.system( assert os.system(
"%staosBenchmark -f tools/taosdemoAllTest/querySuperMutisql100.json" % "%staosBenchmark -f tools/taosdemoAllTest/querySuperMutisql100.json" %
binPath) binPath) == 0
# query result print QPS # query result print QPS
os.system( os.system(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册