CLOUDSTACK-8084: Fixed test_17_add_nic_different_zone in test_add_remove_network.py
Signed-off-by: SrikanteswaraRao Talluri <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3090e4a0 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3090e4a0 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3090e4a0 Branch: refs/heads/master Commit: 3090e4a0301c4be50d0d46703b2d9fa070c2e91b Parents: 6966980 Author: Gaurav Aradhye <[email protected]> Authored: Wed Dec 17 17:35:35 2014 +0530 Committer: SrikanteswaraRao Talluri <[email protected]> Committed: Fri Dec 19 10:20:29 2014 +0530 ---------------------------------------------------------------------- test/integration/component/test_add_remove_network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3090e4a0/test/integration/component/test_add_remove_network.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_add_remove_network.py b/test/integration/component/test_add_remove_network.py index aacd44b..2f685b5 100644 --- a/test/integration/component/test_add_remove_network.py +++ b/test/integration/component/test_add_remove_network.py @@ -1263,6 +1263,7 @@ class TestFailureScenariosAddNetworkToVM(cloudstackTestCase): self.debug("Creating isolated network in zone %s which is foreign to VM" % foreignZoneId) isolated_network = Network.create(self.apiclient,self.services["isolated_network"], + self.account.name, self.account.domainid, networkofferingid=self.isolated_network_offering.id) self.debug("Created isolated network %s in zone %s" % (isolated_network.id, foreignZoneId)) @@ -1274,7 +1275,7 @@ class TestFailureScenariosAddNetworkToVM(cloudstackTestCase): cmd.networkid = isolated_network.id with self.assertRaises(Exception) as e: - time.sleep(5) + time.sleep(5) self.apiclient.addNicToVirtualMachine(cmd) self.debug("addNicToVirtualMachine API failed with exception: %s" % e.exception)
