Skip to content

Commit

Permalink
Merge pull request autotest#5431 from hs0210/virtual_networks_get_gue…
Browse files Browse the repository at this point in the history
…st_ip

virtual_networks: Extend the timeout for obtaining guest IP
  • Loading branch information
Yingshun authored Feb 1, 2024
2 parents e6f9b5e + e1f3afe commit 7350c6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def pause_resume_vm(vm_name):
for vm_i in vm_list:
mac = vm_xml.VMXML.get_first_mac_by_name(vm_i.name)
sess = vm_i.wait_for_serial_login()
vm_ip = utils_net.get_guest_ip_addr(sess, mac)
vm_ip = utils_net.get_guest_ip_addr(sess, mac, timeout=5)
session_n_ip[sess] = vm_ip
logging.debug('Vm %s ip: %s', vm_i.name, vm_ip)
if not vm_ip:
Expand Down

0 comments on commit 7350c6b

Please sign in to comment.