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( hosts = Host.list(
self.apiclient, self.apiclient,
id=master_router.hostid, id=master_router.hostid
listall=True
) )
self.assertEqual( self.assertEqual(
isinstance(hosts, list), isinstance(hosts, list),
@ -734,8 +733,7 @@ class TestRVRInternals(cloudstackTestCase):
hosts = Host.list( hosts = Host.list(
self.apiclient, self.apiclient,
id=backup_router.hostid, id=backup_router.hostid
listall=True
) )
self.assertEqual( self.assertEqual(
isinstance(hosts, list), isinstance(hosts, list),
@ -796,7 +794,7 @@ class TestRVRInternals(cloudstackTestCase):
) )
else: else:
result = get_process_status( result = get_process_status(
master_host.ipaddress, backup_host.ipaddress,
22, 22,
self.testdata['configurableData']['host']["username"], self.testdata['configurableData']['host']["username"],
self.testdata['configurableData']['host']["password"], self.testdata['configurableData']['host']["password"],