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

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
Gaurav Aradhye 2014-12-11 17:12:50 +05:30 committed by SrikanteswaraRao Talluri
parent 487bf5f57d
commit d773eee39c

View File

@ -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"],