From: Ali Masarwa Date: Thu, 23 May 2024 11:08:56 +0000 (+0300) Subject: RGW|Bucket notification: disable notif v2 to reload realm correctly X-Git-Tag: v20.0.0~1855^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F57655%2Fhead;p=ceph.git RGW|Bucket notification: disable notif v2 to reload realm correctly 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 a33ab8dfff4c..61d6250880c6 100644 --- a/src/test/rgw/bucket_notification/test_bn.py +++ b/src/test/rgw/bucket_notification/test_bn.py @@ -4546,6 +4546,14 @@ def test_persistent_ps_s3_reload(): print('delete all topics') delete_all_topics(conn, '', get_config_cluster()) + # disable v2 notification + result = admin(['zonegroup', 'modify', '--disable-feature=notification_v2'], get_config_cluster()) + assert_equal(result[1], 0) + result = admin(['period', 'update'], get_config_cluster()) + assert_equal(result[1], 0) + result = admin(['period', 'commit'], get_config_cluster()) + assert_equal(result[1], 0) + # create random port for the http server host = get_ip() http_port = random.randint(10000, 20000)