Browse Source

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
tags/0.1.0
Claudiu Belu 1 year ago
parent
commit
dbdca9de9f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      oswin_tempest_plugin/tests/scenario/test_cluster.py

+ 2
- 2
oswin_tempest_plugin/tests/scenario/test_cluster.py View File

@@ -135,8 +135,8 @@ class HyperVClusterTest(test_base.TestBase,
135 135
                                                res_type='hypervisor')
136 136
         return hypervisor[0]
137 137
 
138
-    def _create_server(self):
139
-        server_tuple = super(HyperVClusterTest, self)._create_server()
138
+    def _create_server(self, flavor=None):
139
+        server_tuple = super(HyperVClusterTest, self)._create_server(flavor)
140 140
         server = server_tuple.server
141 141
         admin_server = self._get_server_as_admin(server)
142 142
 

Loading…
Cancel
Save