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:
Claudiu Belu 2017-09-06 03:54:40 -07:00
parent f83c7e2ea1
commit dbdca9de9f

View File

@ -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)