From 4f825288290cc7ec67301a3aa1306d30eb1e682b Mon Sep 17 00:00:00 2001 From: Ashutosh K Date: Mon, 24 Nov 2014 16:16:55 +0530 Subject: [PATCH] CLOUDSTACK-7965: Fix script related to force delete domain test case Signed-off-by: SrikanteswaraRao Talluri --- test/integration/component/test_persistent_networks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/component/test_persistent_networks.py b/test/integration/component/test_persistent_networks.py index f7827006d2b..ff563df8a75 100644 --- a/test/integration/component/test_persistent_networks.py +++ b/test/integration/component/test_persistent_networks.py @@ -2784,15 +2784,15 @@ class TestVPCNetworkOperations(cloudstackTestCase): "vlan must not be null for persistent network: %s" % persistent_network_2.id) - # Force delete domain - child_domain.delete(self.apiclient, cleanup=True) - except Exception as e: self.cleanup.append(account_1) self.cleanup.append(account_2) self.cleanup.append(child_domain) self.fail(e) + # Force delete domain + child_domain.delete(self.apiclient, cleanup=True) + self.debug("Waiting for account.cleanup.interval" + " to cleanup any remaining resouces") # Sleep 3*account.gc to ensure that all resources are deleted