From 1bdff647c9c45758e9cf3587f5004fafb2a35793 Mon Sep 17 00:00:00 2001 From: Peter Sabaini Date: Wed, 29 Jan 2025 11:37:20 +0100 Subject: [PATCH] Fix rbd test regression, pt. 2 Signed-off-by: Peter Sabaini --- zaza/openstack/charm_tests/ceph/rbd_mirror/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/ceph/rbd_mirror/tests.py b/zaza/openstack/charm_tests/ceph/rbd_mirror/tests.py index 1abf2245d..bf4ed4369 100644 --- a/zaza/openstack/charm_tests/ceph/rbd_mirror/tests.py +++ b/zaza/openstack/charm_tests/ceph/rbd_mirror/tests.py @@ -801,7 +801,7 @@ def test_100_forced_juju_failover(self): action_params={ 'pools': ','.join(site_b_pools), }) - self.assertEqual(int(result.get('Code')), 0) + self.assertEqual(int(result.results["return-code"]), 0) # The action may not show up as 'failed' if there are no pools that # needed to be promoted.