Update release version into reboot plugin
For now test will fail on attempts to enable it in cluster attributes, according to release version in plugin metadata in not compatible with mitaka-9.0. In this patch we just update this data. Change-Id: Icd36e58858529796bc095993b965738915c38422 Related-Bug: #1548348
This commit is contained in:
parent
6f3a7d0281
commit
23ca7e9ff9
@ -69,6 +69,7 @@ class RebootPlugin(TestBasic):
|
|||||||
# create plugin template on the master node
|
# create plugin template on the master node
|
||||||
self.show_step(3)
|
self.show_step(3)
|
||||||
fpb.fpb_create_plugin(source_plugin_path)
|
fpb.fpb_create_plugin(source_plugin_path)
|
||||||
|
fpb.fpb_change_plugin_version(plugin_name, 'mitaka-9.0')
|
||||||
# replace plugin tasks with our file
|
# replace plugin tasks with our file
|
||||||
fpb.fpb_replace_plugin_content(
|
fpb.fpb_replace_plugin_content(
|
||||||
os.path.join(tasks_path, tasks_file),
|
os.path.join(tasks_path, tasks_file),
|
||||||
@ -202,6 +203,7 @@ class RebootPlugin(TestBasic):
|
|||||||
# create plugin template on the master node
|
# create plugin template on the master node
|
||||||
fpb.fpb_create_plugin(source_plugin_path)
|
fpb.fpb_create_plugin(source_plugin_path)
|
||||||
# replace plugin tasks with our file
|
# replace plugin tasks with our file
|
||||||
|
fpb.fpb_change_plugin_version(plugin_name, 'mitaka-9.0')
|
||||||
fpb.fpb_replace_plugin_content(
|
fpb.fpb_replace_plugin_content(
|
||||||
os.path.join('/tmp/', tasks_file),
|
os.path.join('/tmp/', tasks_file),
|
||||||
os.path.join(source_plugin_path, 'tasks.yaml'))
|
os.path.join(source_plugin_path, 'tasks.yaml'))
|
||||||
|
Loading…
Reference in New Issue
Block a user