Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #10129 from mnadeem92/fix_test_multi_host_multi_vm
Browse files Browse the repository at this point in the history
[1LP][RFR] Fixing test fix_test_multi_host_multi_vm
  • Loading branch information
digitronik authored May 21, 2020
2 parents f1cf04f + 2db4f05 commit b203ee5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cfme/tests/v2v/test_v2v_migrations_single_vcenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ def _is_migration_started(vm):
wait_for(func=_is_migration_started, func_args=[vm],
message="migration has not started for all VMs", delay=5, num_sec=300)

host_creds = provider.hosts.all()
if provider.one_of(OpenStackProvider):
host_creds = provider.appliance.collections.openstack_nodes.all()
else:
host_creds = provider.hosts.all()

hosts_dict = {key.name: [] for key in host_creds}
for vm in vms:
popup_text = request_details_list.read_additional_info_popup(vm)
Expand Down

0 comments on commit b203ee5

Please sign in to comment.