diff options
author | Ali Masarwa <ali.saed.masarwa@gmail.com> | 2023-09-19 13:32:42 +0200 |
---|---|---|
committer | Ali Masarwa <ali.saed.masarwa@gmail.com> | 2023-09-28 15:30:23 +0200 |
commit | 60eb713084a76f3199747df87965b4e80439f9a8 (patch) | |
tree | b3e902d7d4ecadba1f115bfd5f71b37a1727505e /src/test/rgw | |
parent | Merge pull request #53450 from zdover23/wip-doc-2023-09-14-man-ceph-monstore-... (diff) | |
download | ceph-60eb713084a76f3199747df87965b4e80439f9a8.tar.xz ceph-60eb713084a76f3199747df87965b4e80439f9a8.zip |
RGW | Bucket Notification: migrating old entries to support persistency control
Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
Diffstat (limited to 'src/test/rgw')
-rw-r--r-- | src/test/rgw/bucket_notification/test_bn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rgw/bucket_notification/test_bn.py b/src/test/rgw/bucket_notification/test_bn.py index ffb8e488bbf..041ca3ebe11 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": 20, "retry_sleep_duration": 1} - buffer = 20 + config_dict = {"time_to_live": "None", "max_retries": 10, "retry_sleep_duration": 1} + buffer = 30 persistency_time = config_dict["max_retries"]*config_dict["retry_sleep_duration"] + buffer ps_s3_persistent_topic_configs(persistency_time, config_dict) |