CLOUDSTACK-7802: test_vpc_network.py - Increasing polling period for network state check

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
Gaurav Aradhye 2014-10-28 13:38:10 +05:30 committed by SrikanteswaraRao Talluri
parent a4174d3e91
commit af510eb656

View File

@ -1934,7 +1934,7 @@ class TestVPCNetworkUpgrade(cloudstackTestCase):
# When all Vms ain network are stopped, network state changes from Implemented --> Shutdown --> Allocated # When all Vms ain network are stopped, network state changes from Implemented --> Shutdown --> Allocated
# We can't update the network when it is in Shutodown state, hence we should wait for the state to change to # We can't update the network when it is in Shutodown state, hence we should wait for the state to change to
# Allocated and then update the network # Allocated and then update the network
retriesCount = 10 retriesCount = 20
while True: while True:
networks = list_networks(self.apiclient, id=network_1.id) networks = list_networks(self.apiclient, id=network_1.id)
self.assertEqual(validateList(networks)[0], PASS, "networks list validation failed, list id %s" % networks) self.assertEqual(validateList(networks)[0], PASS, "networks list validation failed, list id %s" % networks)