Skip to content

Commit

Permalink
RGW|Bucket notification: disable notif v2 to reload realm correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
  • Loading branch information
AliMasarweh committed May 23, 2024
1 parent ef9bf76 commit cce9b3c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/rgw/bucket_notification/test_bn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cce9b3c

Please sign in to comment.