Fix rbd test regression, pt. 2

Signed-off-by: Peter Sabaini <peter.sabaini@canonical.com>
This commit is contained in:
Peter Sabaini
2025-01-29 11:37:20 +01:00
parent b75eb07170
commit 1bdff647c9

View File

@@ -801,7 +801,7 @@ class CephRBDMirrorDisasterFailoverTest(CephRBDMirrorBase):
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.