From: Oguzhan Ozmen Date: Fri, 13 Mar 2026 22:33:45 +0000 (+0000) Subject: rgw/test/multisite: revise test_period_update_commit testcase client wkld settings X-Git-Tag: v21.0.0~33^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=60666a28a8ec297ca36ff1d4f2b33dc6973f5cc6;p=ceph.git rgw/test/multisite: revise test_period_update_commit testcase client wkld settings - set wkld concurrency level to default urllib pool size Set wkld_concurrency to 10 which is the default urllib pool size to avoid the event: WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: ... Connection pool size: 10 - make the client wkld less aggresive Signed-off-by: Oguzhan Ozmen --- diff --git a/src/test/rgw/rgw_multi/tests.py b/src/test/rgw/rgw_multi/tests.py index d9f15080b086..1d0bf7d5ff1e 100644 --- a/src/test/rgw/rgw_multi/tests.py +++ b/src/test/rgw/rgw_multi/tests.py @@ -6211,9 +6211,9 @@ def test_object_lock_sync(): def test_period_update_commit(): - wkld_concurrency = 25 - num_objects_to_upload = 2500 - number_of_period_updates = 5 + wkld_concurrency = 10 + num_objects_to_upload = 1000 + number_of_period_updates = 3 test_passed = False zonegroup = realm.master_zonegroup() @@ -6235,6 +6235,9 @@ def test_period_update_commit(): Bucket=bucket.name, Key=f"obj-{i:04d}", Body="..." ) num_uploads += 1 + if stop_event.is_set(): + break + time.sleep(0.01) except Exception as e: log.debug(f"failed to upload object to bucket={bucket.name}: {e}") log.info(