method addition:remove_containers_if_pacemaker_resources to not fail on pacemaker resources in assert_equal_container_state

Change-Id: I6b468f9e41a8af9a6a879706f57769b34772d941
This commit is contained in:
pinikomarov
2020-06-24 16:09:31 +03:00
parent c36d43630a
commit 04f08d8261
2 changed files with 32 additions and 5 deletions

View File

@@ -241,8 +241,8 @@ def check_iha_evacuation(failover_type=None, vm_type=None):
"""check vms on compute host,disrupt compute host,
check all vms evacuated and pingable"""
for iteration in range(2):
LOG.info(f'Beign IHA tests iteration {iteration}')
LOG.info('creatr 4 vms')
LOG.info(f'Begin IHA tests iteration {iteration}')
LOG.info('create 2 vms')
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)