From b2a215bbc60d41669f84469e093aa81a3ed684fe Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Wed, 7 Aug 2013 17:40:53 -0700 Subject: [PATCH] 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. --- test/integration/smoke/test_network.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/smoke/test_network.py b/test/integration/smoke/test_network.py index 77cb2eaf6e5..042ac84ae53 100644 --- a/test/integration/smoke/test_network.py +++ b/test/integration/smoke/test_network.py @@ -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,