Skip to content

Commit

Permalink
fix evac tests
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Reis <[email protected]>
  • Loading branch information
benjamreis committed Feb 13, 2024
1 parent aa0b88f commit 3f4d313
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/migration/test_host_evacuate.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,8 @@ def test_host_evacuate_with_network_not_present(self, host, hostA2, second_netwo
pif_uuid = host.xe('pif-list', {'host-uuid': hostA2.uuid, 'network-uuid': second_network}, minimal=True)
args['uuid'] = pif_uuid
logging.info(f"Re-add and plug PIF {pif_uuid}")
if ipv6:
# IPv4 by default
host.xe('set-primary-address-type', {'uuid': pif_uuid, 'primary_address_type': 'ipv6'})
host.xe(reconfigure_method, args)
host.xe('pif-plug', {'uuid': pif_uuid})

0 comments on commit 3f4d313

Please sign in to comment.