From 6b0e84dbe55bc725c414daf9ac8f6c25bb5cfd0f Mon Sep 17 00:00:00 2001 From: Itzhak Kave Date: Tue, 30 Jan 2024 15:57:47 +0200 Subject: [PATCH] Wait for the node to reach the NotReady state, and then wait for the nodes to reach the Ready state again Signed-off-by: Itzhak Kave --- tests/functional/z_cluster/nodes/test_nodes_restart_hci.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/functional/z_cluster/nodes/test_nodes_restart_hci.py b/tests/functional/z_cluster/nodes/test_nodes_restart_hci.py index 3e4480caaf70..f02f2bde0411 100644 --- a/tests/functional/z_cluster/nodes/test_nodes_restart_hci.py +++ b/tests/functional/z_cluster/nodes/test_nodes_restart_hci.py @@ -154,7 +154,9 @@ def test_nodes_restart(self, cluster_type, nodes, node_type): ) wait_for_nodes_status([ocp_node.name], constants.NODE_NOT_READY) logger.info("Wait for all the nodes to be ready...") - wait_for_node_count_to_reach_status(node_count=node_count, node_type=node_type) + wait_for_node_count_to_reach_status( + node_count=node_count, node_type=node_type, timeout=720 + ) ceph_health_check() @tier4b