RGW | bucket notification: adding more sleeping time to prevent test from failing

Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
This commit is contained in:
Ali Masarwa 2023-09-12 13:31:31 +03:00
parent 55e13ffde7
commit 1f8f0a9e66

View File

@ -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)