Skip to content

Commit

Permalink
Merge pull request #5041 from mildas/add_more_time_for_waiting
Browse files Browse the repository at this point in the history
Extend waiting time till virtual machine is again in RUNNING state
  • Loading branch information
matusmarhefka committed Nov 28, 2019
2 parents 23cf171 + ea55b94 commit 0ce1bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ssg_test_suite/virt.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def determine_ip(domain):

# wait for machine until it gets to RUNNING state,
# because it isn't possible to determine IP in e.g. PAUSED state
must_end = time.time() + 30 # wait max. 30 seconds
must_end = time.time() + 120 # wait max. 2 minutes
while time.time() < must_end:
if domain.state()[0] == libvirt.VIR_DOMAIN_RUNNING:
break
Expand Down

0 comments on commit 0ce1bfb

Please sign in to comment.