Tempest: wrap instance actions into inspector methods

This commit I4fe31ecae3393abc2779a5e80e348899f9113f1b broke inspector
tempest tests, it changes boot_instance and terminate_instance
signature.

This change redefine action methods

Change-Id: If6a9b300bd22e7b62b7e53763cb0328ad30f11c7
changes/63/344363/2
Anton Arefiev 7 years ago
parent ccfd2d8155
commit 316e5d86e4

@ -94,6 +94,12 @@ class InspectorScenarioTest(BaremetalScenarioTest):
return os.path.join(base_path, "inspector_tempest_plugin",
"rules", rule_file)
def boot_instance(self):
return super(InspectorScenarioTest, self).boot_instance()
def terminate_instance(self, instance):
return super(InspectorScenarioTest, self).terminate_instance(instance)
# TODO(aarefiev): switch to call_until_true
def wait_for_introspection_finished(self, node_ids):
"""Waits for introspection of baremetal nodes to finish.

@ -145,5 +145,5 @@ class InspectorBasicTest(manager.InspectorScenarioTest):
self.wait_for_nova_aware_of_bvms()
self.add_keypair()
self.boot_instance()
self.terminate_instance()
ins, _node = self.boot_instance()
self.terminate_instance(ins)

Loading…
Cancel
Save