fix: add flush_each_batch to json

This commit is contained in:
Alex Duan 2024-02-27 10:57:43 +08:00
parent fbc5699215
commit 6a91673880
2 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,7 @@
"user": "root",
"password": "taosdata",
"connection_pool_size": 8,
"num_of_records_per_req": 2000,
"num_of_records_per_req": 4000,
"prepared_rand": 1000,
"thread_count": 2,
"create_table_thread_count": 1,
@ -19,6 +19,7 @@
"vgroups": 2,
"replica": 1,
"duration":"10d",
"flush_each_batch":"yes",
"keep": "30d,60d,100d"
},
"super_tables": [

View File

@ -91,12 +91,10 @@ class TDTestCase(TBase):
break
self.trimDb(True)
tdLog.info(f"loop={loop} no upload {cnt} data files wait 3s retry ...")
'''
if loop == 0:
sc.dnodeStop(1)
time.sleep(2)
sc.dnodeStart(1)
'''
loop += 1
if len(rets) > 0: