]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
reef: fix issue with bucket notification test 61881/head
authorYuval Lifshitz <ylifshit@ibm.com>
Tue, 18 Feb 2025 19:09:17 +0000 (19:09 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Tue, 18 Feb 2025 19:09:17 +0000 (19:09 +0000)
the get_ip() function now uses the get_ip_http() implementation.
(without that test are sometimes failing with multiple RGWs).
however, the name was modified to get_ip(), and this was not updated
in all tests.

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
src/test/rgw/bucket_notification/test_bn.py

index 8982a50d40c38576bc6b759fdfcc5dc55424ad20..af126f8ae50206893f74fa04d01dd587bb9340b0 100644 (file)
@@ -1696,7 +1696,7 @@ def test_ps_s3_notification_multi_delete_on_master():
 @attr('http_test')
 def test_ps_s3_notification_push_http_on_master():
     """ test pushing http s3 notification on master """
-    hostname = get_ip_http()
+    hostname = get_ip()
     conn = connection()
     zonegroup = 'default'
 
@@ -1780,7 +1780,7 @@ def test_ps_s3_notification_push_http_on_master():
 @attr('http_test')
 def test_ps_s3_notification_push_cloudevents_on_master():
     """ test pushing cloudevents notification on master """
-    hostname = get_ip_http()
+    hostname = get_ip()
     conn = connection()
     zonegroup = 'default'