Fixes test_cluster _create_server method
test_cluster overrides the test_base's _create_server method, but it does not respect its signature, leading to issues when flavors are passed to the method.wq Change-Id: I6cb0a279bbff653369591246749874b315ed33ab
This commit is contained in:
parent
f83c7e2ea1
commit
dbdca9de9f
@ -135,8 +135,8 @@ class HyperVClusterTest(test_base.TestBase,
|
||||
res_type='hypervisor')
|
||||
return hypervisor[0]
|
||||
|
||||
def _create_server(self):
|
||||
server_tuple = super(HyperVClusterTest, self)._create_server()
|
||||
def _create_server(self, flavor=None):
|
||||
server_tuple = super(HyperVClusterTest, self)._create_server(flavor)
|
||||
server = server_tuple.server
|
||||
admin_server = self._get_server_as_admin(server)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user