Repair masakari FT
With switch to resource layer a wrong hypervisor attribute 'hypervisor_hostname' disappeared. Use a proper 'name' attribute instead. Change-Id: I1ce5f761fe49042e058d18371a7a2d0b0dcc75de
This commit is contained in:
parent
bf6651f149
commit
b2df6b19cd
|
@ -46,7 +46,7 @@ class TestHost(base.BaseFunctionalTest):
|
|||
service_type='COMPUTE')
|
||||
|
||||
# Create valid host
|
||||
self.NAME = HYPERVISORS[0]['hypervisor_hostname']
|
||||
self.NAME = HYPERVISORS[0].name
|
||||
self.host = self.conn.ha.create_host(
|
||||
segment_id=self.segment.uuid, name=self.NAME, type='COMPUTE',
|
||||
control_attributes='SSH')
|
||||
|
|
Loading…
Reference in New Issue