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

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

Branch: refs/heads/master
Commit: bbebac733969ffa0125befdba28c49b48c44ee50
Parents: 7ff118c
Author: Gaurav Aradhye <[email protected]>
Authored: Thu Dec 11 17:12:50 2014 +0530
Committer: SrikanteswaraRao Talluri <[email protected]>
Committed: Thu Dec 11 17:44:30 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/bbebac73/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