diff --git a/tobiko/tests/faults/ha/cloud_disruptions.py b/tobiko/tests/faults/ha/cloud_disruptions.py index e037280df..a8546b5a0 100644 --- a/tobiko/tests/faults/ha/cloud_disruptions.py +++ b/tobiko/tests/faults/ha/cloud_disruptions.py @@ -253,6 +253,10 @@ def reset_controllers_non_main_vip(): inverse=True) +def crash_controller_main_vip(): + disrupt_controller_main_vip(disrupt_method=sh.crash_method) + + def network_disrupt_controller_main_vip(): disrupt_controller_main_vip(disrupt_method=network_disruption) LOG.info('waiting 60s to avoid race conditions...') diff --git a/tobiko/tests/faults/ha/test_cloud_recovery.py b/tobiko/tests/faults/ha/test_cloud_recovery.py index 1b87a7429..3b4c3f6c5 100644 --- a/tobiko/tests/faults/ha/test_cloud_recovery.py +++ b/tobiko/tests/faults/ha/test_cloud_recovery.py @@ -99,6 +99,11 @@ class DisruptTripleoNodesTest(testtools.TestCase): cloud_disruptions.reset_controllers_non_main_vip() overcloud_health_checks() + def test_crash_controller_main_vip(self): + overcloud_health_checks() + cloud_disruptions.crash_controller_main_vip() + overcloud_health_checks() + @pacemaker.skip_if_fencing_not_deployed def test_network_disruptor_main_vip(self): overcloud_health_checks()