summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Belu <cbelu@cloudbasesolutions.com>2017-09-06 03:54:40 -0700
committerClaudiu Belu <cbelu@cloudbasesolutions.com>2017-09-06 03:56:26 -0700
commitdbdca9de9f388c02e7b85b8fc03b0353ea0ff37b (patch)
tree4fa4247bda47aa7cf5d218b6f9ef1c63ff340af6
parentf83c7e2ea158c853f597259f3fd78f8e3ee2f4e5 (diff)
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
Notes
Notes (review): Code-Review+2: Claudiu Belu <cbelu@cloudbasesolutions.com> Workflow+1: Claudiu Belu <cbelu@cloudbasesolutions.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 06 Sep 2017 11:23:25 +0000 Reviewed-on: https://review.openstack.org/501217 Project: openstack/oswin-tempest-plugin Branch: refs/heads/master
-rw-r--r--oswin_tempest_plugin/tests/scenario/test_cluster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oswin_tempest_plugin/tests/scenario/test_cluster.py b/oswin_tempest_plugin/tests/scenario/test_cluster.py
index b9a1485..8f094bd 100644
--- a/oswin_tempest_plugin/tests/scenario/test_cluster.py
+++ b/oswin_tempest_plugin/tests/scenario/test_cluster.py
@@ -135,8 +135,8 @@ class HyperVClusterTest(test_base.TestBase,
135 res_type='hypervisor') 135 res_type='hypervisor')
136 return hypervisor[0] 136 return hypervisor[0]
137 137
138 def _create_server(self): 138 def _create_server(self, flavor=None):
139 server_tuple = super(HyperVClusterTest, self)._create_server() 139 server_tuple = super(HyperVClusterTest, self)._create_server(flavor)
140 server = server_tuple.server 140 server = server_tuple.server
141 admin_server = self._get_server_as_admin(server) 141 admin_server = self._get_server_as_admin(server)
142 142