test:modify testcase of multi-inserting data
This commit is contained in:
parent
dce1931365
commit
6e66176579
|
@ -294,7 +294,7 @@ class TDTestCase:
|
||||||
return
|
return
|
||||||
|
|
||||||
def test_case3(self):
|
def test_case3(self):
|
||||||
self.taosBenchCreate("127.0.0.1","no","db1", "stb1", 1, 8, 1*10000)
|
self.taosBenchCreate("127.0.0.1","no","db1", "stb1", 1, 1, 1*10)
|
||||||
# self.taosBenchCreate("test209","no","db2", "stb2", 1, 8, 1*10000)
|
# self.taosBenchCreate("test209","no","db2", "stb2", 1, 8, 1*10000)
|
||||||
|
|
||||||
# self.taosBenchCreate("chenhaoran02","no","db1", "stb1", 1, 8, 1*10000)
|
# self.taosBenchCreate("chenhaoran02","no","db1", "stb1", 1, 8, 1*10000)
|
||||||
|
@ -349,17 +349,17 @@ class TDTestCase:
|
||||||
# run case
|
# run case
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
# create database and tables。
|
# # create database and tables。
|
||||||
self.test_case1()
|
# self.test_case1()
|
||||||
tdLog.debug(" LIMIT test_case1 ............ [OK]")
|
# tdLog.debug(" LIMIT test_case1 ............ [OK]")
|
||||||
|
|
||||||
# # taosBenchmark : create database and table
|
# # taosBenchmark : create database and table
|
||||||
# self.test_case2()
|
# self.test_case2()
|
||||||
# tdLog.debug(" LIMIT test_case2 ............ [OK]")
|
# tdLog.debug(" LIMIT test_case2 ............ [OK]")
|
||||||
|
|
||||||
# # taosBenchmark:create database/table and insert data
|
# taosBenchmark:create database/table and insert data
|
||||||
# self.test_case3()
|
self.test_case3()
|
||||||
# tdLog.debug(" LIMIT test_case3 ............ [OK]")
|
tdLog.debug(" LIMIT test_case3 ............ [OK]")
|
||||||
|
|
||||||
|
|
||||||
# # test qnode
|
# # test qnode
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"result_file": "./insert_res.txt",
|
"result_file": "./insert_res.txt",
|
||||||
"confirm_parameter_prompt": "no",
|
"confirm_parameter_prompt": "no",
|
||||||
"insert_interval": 0,
|
"insert_interval": 0,
|
||||||
"interlace_rows": 100000,
|
"interlace_rows": 0,
|
||||||
"num_of_records_per_req": 100,
|
"num_of_records_per_req": 100,
|
||||||
"databases": [
|
"databases": [
|
||||||
{
|
{
|
||||||
|
@ -29,8 +29,8 @@
|
||||||
"batch_create_tbl_num": 50000,
|
"batch_create_tbl_num": 50000,
|
||||||
"data_source": "rand",
|
"data_source": "rand",
|
||||||
"insert_mode": "taosc",
|
"insert_mode": "taosc",
|
||||||
"insert_rows": 10,
|
"insert_rows": 1,
|
||||||
"interlace_rows": 100000,
|
"interlace_rows": 0,
|
||||||
"insert_interval": 0,
|
"insert_interval": 0,
|
||||||
"max_sql_len": 10000000,
|
"max_sql_len": 10000000,
|
||||||
"disorder_ratio": 0,
|
"disorder_ratio": 0,
|
||||||
|
|
Loading…
Reference in New Issue