Merge pull request #1295 from sabaini/fix-rbd-reg-pt2

Fix rbd test regression, pt. 2
This commit is contained in:
Peter Sabaini
2025-01-29 17:04:25 +01:00
committed by GitHub

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.