Browse Source

add test move_murano_plugin_on_environment_from_controller_to_murano_node

Change-Id: I5487db467ff1b95b634c2e97e5fd0674f8a0f968
Aleksandr Kholkin 2 years ago
parent
commit
a54bd3937a
1 changed files with 25 additions and 0 deletions
  1. 25
    0
      murano_plugin_tests/murano_plugin/test_post_install.py

+ 25
- 0
murano_plugin_tests/murano_plugin/test_post_install.py View File

@@ -114,3 +114,28 @@ class TestMuranoPostInstallation(api.MuranoPluginApi):
114 114
         self.helpers.apply_changes()
115 115
 
116 116
         self.check_plugin_online()
117
+
118
+    @test(depends_on=["deploy_murano_plugin_on_controller"],
119
+          groups=["move_murano_plugin_on_environment_from_controller"
120
+                  "_to_murano_node", "deploy", "murano_plugin",
121
+                  "post_installation", 'murano'])
122
+    @log_snapshot_after_test
123
+    def move_murano_plugin_on_environment_from_controller_to_murano_node(self):
124
+        """Move Murano plugin on environment from controller to murano-node.
125
+        Scenario:
126
+            1. Revert snapshot with deployed non-ha cluster with Murano plugin
127
+            2. Add 1 node with murano-node role
128
+            3. Deploy changes
129
+            4. Run OSTF
130
+        Duration 120m
131
+        Snapshot move_murano_plugin_on_environment_from_controller_to_murano_node
132
+        """
133
+
134
+        self.env.revert_snapshot("deploy_murano_plugin_on_controller")
135
+
136
+        self.helpers.deploy_cluster({
137
+            'slave-03': plugin_settings.role_name,
138
+        })
139
+
140
+        self.run_ostf(['sanity', 'smoke'])
141
+        self.check_plugin_online()

Loading…
Cancel
Save