From: Casey Bodley Date: Mon, 7 Apr 2025 13:26:21 +0000 (-0400) Subject: test/rgw/multisite: fix parsing of 'topic list' output X-Git-Tag: testing/wip-vshankar-testing-20250411.090237-debug~24^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cb908adcb294e4ef031204f97844c356743dcc19;p=ceph-ci.git test/rgw/multisite: fix parsing of 'topic list' output adjust the parsing to match changes from 3f0428a017cdf35b7290cf7836eb4baa4eb0e774 Fixes: https://tracker.ceph.com/issues/70729 Signed-off-by: Casey Bodley --- diff --git a/src/test/rgw/rgw_multi/tests.py b/src/test/rgw/rgw_multi/tests.py index 17d2cc4f80e..75d892a3fa6 100644 --- a/src/test/rgw/rgw_multi/tests.py +++ b/src/test/rgw/rgw_multi/tests.py @@ -548,8 +548,7 @@ def get_topics(zone): """ cmd = ['topic', 'list'] + zone.zone_args() topics_json, _ = zone.cluster.admin(cmd, read_only=True) - topics = json.loads(topics_json) - return topics['topics'] + return json.loads(topics_json) def create_topic_per_zone(zonegroup_conns, topics_per_zone=1):