diff --git a/tobiko/tests/faults/ha/cloud_disruptions.py b/tobiko/tests/faults/ha/cloud_disruptions.py index 8f2f2a0c2..a09dad31b 100644 --- a/tobiko/tests/faults/ha/cloud_disruptions.py +++ b/tobiko/tests/faults/ha/cloud_disruptions.py @@ -243,7 +243,7 @@ def check_iha_evacuation(failover_type=None, vm_type=None): for iteration in range(2): LOG.info(f'Beign IHA tests iteration {iteration}') LOG.info('creatr 4 vms') - nova.create_multiple_unique_vms(n_vms=4) + nova.create_multiple_unique_vms(n_vms=2) compute_host = nova.get_random_compute_with_vms_name() vms_starting_state_df = nova.get_compute_vms_df(compute_host) if vm_type == 'shutoff': @@ -282,5 +282,5 @@ def check_iha_evacuation_network_disruption(): check_iha_evacuation(failover_type=network_disruption) -def check_iha_evacuation_hard_reset_shutfoff_inatance(): +def check_iha_evacuation_hard_reset_shutoff_instance(): check_iha_evacuation(failover_type=hard_reset_method, vm_type='shutoff') diff --git a/tobiko/tests/faults/ha/test_cloud_recovery.py b/tobiko/tests/faults/ha/test_cloud_recovery.py index e29e341e9..a064db0fe 100644 --- a/tobiko/tests/faults/ha/test_cloud_recovery.py +++ b/tobiko/tests/faults/ha/test_cloud_recovery.py @@ -102,20 +102,20 @@ class DisruptTripleoNodesTest(testtools.TestCase): @pacemaker.skip_if_instanceha_not_delpoyed def test_instanceha_evacuation_hard_reset(self): - overcloud_health_checks() + overcloud_health_checks(passive_checks_only=True) cloud_disruptions.check_iha_evacuation_hard_reset() @pacemaker.skip_if_instanceha_not_delpoyed def test_instanceha_evacuation_network_disruption(self): - overcloud_health_checks() + overcloud_health_checks(passive_checks_only=True) cloud_disruptions.check_iha_evacuation_network_disruption() - def test_instanceha_evacuation_hard_reset_shutfoff_inatance(self): - overcloud_health_checks() - cloud_disruptions.check_iha_evacuation_hard_reset_shutfoff_inatance() + def test_instanceha_evacuation_hard_reset_shutoff_instance(self): + overcloud_health_checks(passive_checks_only=True) + cloud_disruptions.check_iha_evacuation_hard_reset_shutoff_instance() def test_check_instanceha_evacuation_evac_image_vm(self): - overcloud_health_checks() + overcloud_health_checks(passive_checks_only=True) cloud_disruptions.check_iha_evacuation_evac_image_vm()