Skip to content

Commit cce9b3c

Browse files
committed
RGW|Bucket notification: disable notif v2 to reload realm correctly
Signed-off-by: Ali Masarwa <[email protected]>
1 parent ef9bf76 commit cce9b3c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test/rgw/bucket_notification/test_bn.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4546,6 +4546,14 @@ def test_persistent_ps_s3_reload():
45464546
print('delete all topics')
45474547
delete_all_topics(conn, '', get_config_cluster())
45484548

4549+
# disable v2 notification
4550+
result = admin(['zonegroup', 'modify', '--disable-feature=notification_v2'], get_config_cluster())
4551+
assert_equal(result[1], 0)
4552+
result = admin(['period', 'update'], get_config_cluster())
4553+
assert_equal(result[1], 0)
4554+
result = admin(['period', 'commit'], get_config_cluster())
4555+
assert_equal(result[1], 0)
4556+
45494557
# create random port for the http server
45504558
host = get_ip()
45514559
http_port = random.randint(10000, 20000)

0 commit comments

Comments
 (0)