From: Ali Masarwa Date: Tue, 12 Sep 2023 10:31:31 +0000 (+0300) Subject: RGW | bucket notification: adding more sleeping time to prevent test from failing X-Git-Tag: v19.0.0~495^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1f8f0a9e66c023961ee3a8ae8e9bdceeb03bf07a;p=ceph.git RGW | bucket notification: adding more sleeping time to prevent test from failing Signed-off-by: Ali Masarwa --- diff --git a/src/test/rgw/bucket_notification/test_bn.py b/src/test/rgw/bucket_notification/test_bn.py index d7e46a914aad..ffb8e488bbff 100644 --- a/src/test/rgw/bucket_notification/test_bn.py +++ b/src/test/rgw/bucket_notification/test_bn.py @@ -3262,8 +3262,8 @@ def test_ps_s3_persistent_topic_configs_ttl(): @attr('basic_test') def test_ps_s3_persistent_topic_configs_max_retries(): """ test persistent topic configurations with max_retries and retry_sleep_duration """ - config_dict = {"time_to_live": "None", "max_retries": 30, "retry_sleep_duration": 1} - buffer = 10 + config_dict = {"time_to_live": "None", "max_retries": 20, "retry_sleep_duration": 1} + buffer = 20 persistency_time = config_dict["max_retries"]*config_dict["retry_sleep_duration"] + buffer ps_s3_persistent_topic_configs(persistency_time, config_dict)