fix: add flush_each_batch to json
This commit is contained in:
parent
fbc5699215
commit
6a91673880
|
@ -6,7 +6,7 @@
|
||||||
"user": "root",
|
"user": "root",
|
||||||
"password": "taosdata",
|
"password": "taosdata",
|
||||||
"connection_pool_size": 8,
|
"connection_pool_size": 8,
|
||||||
"num_of_records_per_req": 2000,
|
"num_of_records_per_req": 4000,
|
||||||
"prepared_rand": 1000,
|
"prepared_rand": 1000,
|
||||||
"thread_count": 2,
|
"thread_count": 2,
|
||||||
"create_table_thread_count": 1,
|
"create_table_thread_count": 1,
|
||||||
|
@ -19,6 +19,7 @@
|
||||||
"vgroups": 2,
|
"vgroups": 2,
|
||||||
"replica": 1,
|
"replica": 1,
|
||||||
"duration":"10d",
|
"duration":"10d",
|
||||||
|
"flush_each_batch":"yes",
|
||||||
"keep": "30d,60d,100d"
|
"keep": "30d,60d,100d"
|
||||||
},
|
},
|
||||||
"super_tables": [
|
"super_tables": [
|
||||||
|
|
|
@ -91,12 +91,10 @@ class TDTestCase(TBase):
|
||||||
break
|
break
|
||||||
self.trimDb(True)
|
self.trimDb(True)
|
||||||
tdLog.info(f"loop={loop} no upload {cnt} data files wait 3s retry ...")
|
tdLog.info(f"loop={loop} no upload {cnt} data files wait 3s retry ...")
|
||||||
'''
|
|
||||||
if loop == 0:
|
if loop == 0:
|
||||||
sc.dnodeStop(1)
|
sc.dnodeStop(1)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
sc.dnodeStart(1)
|
sc.dnodeStart(1)
|
||||||
'''
|
|
||||||
loop += 1
|
loop += 1
|
||||||
|
|
||||||
if len(rets) > 0:
|
if len(rets) > 0:
|
||||||
|
|
Loading…
Reference in New Issue