CLOUDSTACK:8018: Fix test_redundant_router.test_redundantVR_internals - The SSH 
to router was being done from wrong host

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/d773eee3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d773eee3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d773eee3

Branch: refs/heads/hotfix/scp-exception
Commit: d773eee39c1e8e3a0bdaebc6f24cbe718ce98567
Parents: 487bf5f
Author: Gaurav Aradhye <gaurav.arad...@clogeny.com>
Authored: Thu Dec 11 17:12:50 2014 +0530
Committer: SrikanteswaraRao Talluri <tall...@apache.org>
Committed: Thu Dec 11 17:54:22 2014 +0530

----------------------------------------------------------------------
 test/integration/component/maint/test_redundant_router.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d773eee3/test/integration/component/maint/test_redundant_router.py
----------------------------------------------------------------------
diff --git a/test/integration/component/maint/test_redundant_router.py 
b/test/integration/component/maint/test_redundant_router.py
index 099ae2c..01d635b 100644
--- a/test/integration/component/maint/test_redundant_router.py
+++ b/test/integration/component/maint/test_redundant_router.py
@@ -720,8 +720,7 @@ class TestRVRInternals(cloudstackTestCase):
 
         hosts = Host.list(
             self.apiclient,
-            id=master_router.hostid,
-            listall=True
+            id=master_router.hostid
         )
         self.assertEqual(
             isinstance(hosts, list),
@@ -734,8 +733,7 @@ class TestRVRInternals(cloudstackTestCase):
 
         hosts = Host.list(
             self.apiclient,
-            id=backup_router.hostid,
-            listall=True
+            id=backup_router.hostid
         )
         self.assertEqual(
             isinstance(hosts, list),
@@ -796,7 +794,7 @@ class TestRVRInternals(cloudstackTestCase):
             )
         else:
             result = get_process_status(
-                master_host.ipaddress,
+                backup_host.ipaddress,
                 22,
                 self.testdata['configurableData']['host']["username"],
                 self.testdata['configurableData']['host']["password"],

Reply via email to