CLOUDSTACK-3939: Add wait time after VM boot up

If VR is reboot before VM booted up, VM cannot get IP. Add timeout for VM
booting up.
This commit is contained in:
Sheng Yang 2013-08-07 17:40:53 -07:00
parent ecfedf00bf
commit b2a215bbc6
1 changed files with 3 additions and 0 deletions

View File

@ -624,6 +624,9 @@ class TestRebootRouter(cloudstackTestCase):
serviceofferingid=self.service_offering.id
)
# Wait for VM to come up
time.sleep(120)
src_nat_ip_addrs = list_publicIP(
self.apiclient,
account=self.account.name,