From 6a916738805a5beb6176f707552a479a6f9c0484 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Tue, 27 Feb 2024 10:57:43 +0800 Subject: [PATCH] fix: add flush_each_batch to json --- tests/army/enterprise/s3/s3_basic.json | 3 ++- tests/army/enterprise/s3/s3_basic.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/army/enterprise/s3/s3_basic.json b/tests/army/enterprise/s3/s3_basic.json index 54b8808f2f..24b46b668d 100644 --- a/tests/army/enterprise/s3/s3_basic.json +++ b/tests/army/enterprise/s3/s3_basic.json @@ -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": [ diff --git a/tests/army/enterprise/s3/s3_basic.py b/tests/army/enterprise/s3/s3_basic.py index c255ca3bb1..7071c678a4 100644 --- a/tests/army/enterprise/s3/s3_basic.py +++ b/tests/army/enterprise/s3/s3_basic.py @@ -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: