Browse Source

Wait cluster readiness in failover tests

Change-Id: Ifc872b5b70e5a64d1ebfa447e4ae5a93ba716c2f
Victor Ryzhenkin 2 years ago
parent
commit
bba3ee4a52

+ 4
- 0
murano_plugin_tests/helpers/helpers.py View File

@@ -736,3 +736,7 @@ class PluginHelper(object):
736 736
         cmd = "yum clean all"
737 737
         self.ssh_manager.execute_on_remote(
738 738
             ip, cmd, err_msg="yum cache flush unsuccessful")
739
+
740
+    def wait_os_cluster_readiness(self, timeout=15 * 60):
741
+        self.fuel_web.assert_os_services_ready(self.cluster_id,
742
+                                               timeout=timeout)

+ 1
- 1
murano_plugin_tests/murano_plugin/api.py View File

@@ -163,7 +163,7 @@ class MuranoPluginApi(object):
163 163
         target_node = fuel_web_client.get_devops_nodes_by_nailgun_nodes(
164 164
             nailgun_nodes[:1])
165 165
         operations[operation](target_node)
166
-        self.wait_plugin_online()
166
+        self.helpers.wait_os_cluster_readiness()
167 167
 
168 168
     def apply_maintenance_update(self):
169 169
         """Method applies maintenance updates on whole cluster

Loading…
Cancel
Save