Fix fails in jumbo_frames tests
fixed fails in fumbo_frames tests after merge patch 'Fix deprecated API usage of keystone client' Closes-bug: #1603309 Change-Id: Ie89ff427019fdae9609cbac266bb462e9d84b38f
This commit is contained in:
@@ -90,7 +90,7 @@ class TestJumboFrames(base_test_case.TestBasic):
|
||||
logger.info("New instance {0} created on {1}"
|
||||
.format(instance.id, hypervisor_name))
|
||||
ip = self.os_conn.get_nova_instance_ip(instance, net_name=label,
|
||||
type='fixed')
|
||||
addrtype='fixed')
|
||||
logger.info("Instance {0} has IP {1}".format(instance.id, ip))
|
||||
|
||||
if not need_floating_ip:
|
||||
@@ -114,9 +114,9 @@ class TestJumboFrames(base_test_case.TestBasic):
|
||||
net_from, net_to, size, count=1):
|
||||
creds = ("cirros", "cubswin:)")
|
||||
destination_ip = self.os_conn.get_nova_instance_ip(
|
||||
destination_instance, net_name=net_to, type='fixed')
|
||||
destination_instance, net_name=net_to, addrtype='fixed')
|
||||
source_ip = self.os_conn.get_nova_instance_ip(
|
||||
source_instance, net_name=net_from, type='floating')
|
||||
source_instance, net_name=net_from, addrtype='floating')
|
||||
|
||||
with self.fuel_web.get_ssh_for_node("slave-01") as ssh:
|
||||
command = "ping -s {0} {1}".format(size, destination_ip)
|
||||
|
Reference in New Issue
Block a user