From cb908adcb294e4ef031204f97844c356743dcc19 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 7 Apr 2025 09:26:21 -0400 Subject: [PATCH] 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 --- src/test/rgw/rgw_multi/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/rgw/rgw_multi/tests.py b/src/test/rgw/rgw_multi/tests.py index 17d2cc4f80e5b..75d892a3fa6f6 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): -- 2.39.5