CLOUDSTACK-7802: test_vpc_network.py - Increasing polling period for network state check
Signed-off-by: SrikanteswaraRao Talluri <tall...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7b48b697 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7b48b697 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7b48b697 Branch: refs/heads/master Commit: 7b48b69763606ebf3d5f58c92016802c34796895 Parents: 8831236 Author: Gaurav Aradhye <gaurav.arad...@clogeny.com> Authored: Tue Oct 28 13:38:10 2014 +0530 Committer: SrikanteswaraRao Talluri <tall...@apache.org> Committed: Tue Nov 4 11:53:59 2014 +0530 ---------------------------------------------------------------------- test/integration/component/test_vpc_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7b48b697/test/integration/component/test_vpc_network.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_vpc_network.py b/test/integration/component/test_vpc_network.py index 096315c..f4c0a2f 100644 --- a/test/integration/component/test_vpc_network.py +++ b/test/integration/component/test_vpc_network.py @@ -1934,7 +1934,7 @@ class TestVPCNetworkUpgrade(cloudstackTestCase): # 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 # Allocated and then update the network - retriesCount = 10 + retriesCount = 20 while True: networks = list_networks(self.apiclient, id=network_1.id) self.assertEqual(validateList(networks)[0], PASS, "networks list validation failed, list id %s" % networks)