add test move_murano_plugin_on_environment_from_controller_to_murano_node

Change-Id: I5487db467ff1b95b634c2e97e5fd0674f8a0f968
This commit is contained in:
Aleksandr Kholkin 2016-11-25 16:01:55 +03:00
parent c15cfcf315
commit a54bd3937a
1 changed files with 25 additions and 0 deletions

View File

@ -114,3 +114,28 @@ class TestMuranoPostInstallation(api.MuranoPluginApi):
self.helpers.apply_changes()
self.check_plugin_online()
@test(depends_on=["deploy_murano_plugin_on_controller"],
groups=["move_murano_plugin_on_environment_from_controller"
"_to_murano_node", "deploy", "murano_plugin",
"post_installation", 'murano'])
@log_snapshot_after_test
def move_murano_plugin_on_environment_from_controller_to_murano_node(self):
"""Move Murano plugin on environment from controller to murano-node.
Scenario:
1. Revert snapshot with deployed non-ha cluster with Murano plugin
2. Add 1 node with murano-node role
3. Deploy changes
4. Run OSTF
Duration 120m
Snapshot move_murano_plugin_on_environment_from_controller_to_murano_node
"""
self.env.revert_snapshot("deploy_murano_plugin_on_controller")
self.helpers.deploy_cluster({
'slave-03': plugin_settings.role_name,
})
self.run_ostf(['sanity', 'smoke'])
self.check_plugin_online()