提交 6439e9ad 编写于 作者: B bryanchang0603

[TD-4475] modifying the test case

上级 f6d5bef7
......@@ -15,6 +15,7 @@ import sys
from util.log import *
from util.cases import *
from util.sql import *
from util.dnodes import tdDnodes
class TDTestCase:
......@@ -58,6 +59,8 @@ class TDTestCase:
tdSql.execute('alter database db blocks 8')
tdSql.query('show databases')
tdSql.checkData(0,9,8)
tdDnodes.stop(1)
tdDnodes.start(1)
os.system("%staosdemo -f tools/taosdemoAllTest/insert_5Mrows_hasTB.json" % binPath)
......
......@@ -11,7 +11,7 @@
"confirm_parameter_prompt": "no",
"insert_interval": 0,
"interlace_rows": 100,
"num_of_records_per_req": 100,
"num_of_records_per_req": 32766,
"databases": [{
"dbinfo": {
"name": "db",
......@@ -40,7 +40,7 @@
"batch_create_tbl_num": 20,
"data_source": "rand",
"insert_mode": "taosc",
"insert_rows": 10000,
"insert_rows": 100000,
"childtable_limit": 500,
"childtable_offset":0,
"interlace_rows": 0,
......@@ -48,8 +48,8 @@
"max_sql_len": 1024000,
"disorder_ratio": 0,
"disorder_range": 1000,
"timestamp_step": 10,
"start_timestamp": "2020-10-01 00:00:00.000",
"timestamp_step": 1,
"start_timestamp": "now",
"sample_format": "csv",
"sample_file": "./sample.csv",
"tags_file": "",
......
......@@ -11,7 +11,7 @@
"confirm_parameter_prompt": "no",
"insert_interval": 0,
"interlace_rows": 100,
"num_of_records_per_req": 100,
"num_of_records_per_req": 32766,
"databases": [{
"dbinfo": {
"name": "db",
......@@ -40,7 +40,7 @@
"batch_create_tbl_num": 20,
"data_source": "rand",
"insert_mode": "taosc",
"insert_rows": 10000,
"insert_rows": 100000,
"childtable_limit": 10,
"childtable_offset":100,
"interlace_rows": 0,
......@@ -48,8 +48,8 @@
"max_sql_len": 1024000,
"disorder_ratio": 0,
"disorder_range": 1000,
"timestamp_step": 10,
"start_timestamp": "2020-10-01 00:00:00.000",
"timestamp_step": 1,
"start_timestamp": "2019-10-01 00:00:00.000",
"sample_format": "csv",
"sample_file": "./sample.csv",
"tags_file": "",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册