From 22763491b33484b288dc34f4d72677142acc3d8f Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Mon, 1 Apr 2019 12:26:02 +0200 Subject: [PATCH] ceph/rbd_mirror: Add use of ``resync-pools`` action to test --- zaza/charm_tests/ceph/rbd_mirror/tests.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zaza/charm_tests/ceph/rbd_mirror/tests.py b/zaza/charm_tests/ceph/rbd_mirror/tests.py index a90dd50..ac0cb47 100644 --- a/zaza/charm_tests/ceph/rbd_mirror/tests.py +++ b/zaza/charm_tests/ceph/rbd_mirror/tests.py @@ -293,6 +293,14 @@ class CephRBDMirrorControlledFailoverTest(CephRBDMirrorBase): self.wait_for_mirror_state( 'up+stopped', model_name=self.site_a_model) + result = zaza.model.run_action_on_leader( + 'ceph-rbd-mirror' + self.site_b_app_suffix, + 'resync-pools', + model_name=self.site_b_model, + action_params={ + 'i-really-mean-it': True, + }) + logging.info(result.results) self.wait_for_mirror_state( 'up+replaying', application_name=self.application_name + self.site_b_app_suffix,