Updated Branches:
  refs/heads/master 31f0e3453 -> 19bed6319

CLOUDSTACK-2898: Fixing test case issue test_network.py:test_delete_account

When the router for an account is deleted listRouters throws an
exception, handle the exception to pass the test.

Signed-off-by: Prasanna Santhanam <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/19bed631
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/19bed631
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/19bed631

Branch: refs/heads/master
Commit: 19bed631939d7f17ec6e3d1393002b866a458104
Parents: 1c6e101
Author: Gaurav Aradhye <[email protected]>
Authored: Fri Jun 7 06:23:10 2013 -0400
Committer: Prasanna Santhanam <[email protected]>
Committed: Wed Jun 12 20:25:20 2013 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_network.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/19bed631/test/integration/smoke/test_network.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_network.py 
b/test/integration/smoke/test_network.py
index a65748d..1c867fa 100644
--- a/test/integration/smoke/test_network.py
+++ b/test/integration/smoke/test_network.py
@@ -1734,6 +1734,9 @@ class TestDeleteAccount(cloudstackTestCase):
                              None,
                              "Check routers are properly deleted."
                    )
+        except cloudstackAPIException:
+            self.debug("Router is deleted")
+
         except Exception as e:
             raise Exception(
                 "Encountered %s raised while fetching routers for account: %s" 
% (e,

Reply via email to