Skip to content

Commit

Permalink
Wait for the node to reach the NotReady state, and then wait for the …
Browse files Browse the repository at this point in the history
…nodes to reach the Ready state again

Signed-off-by: Itzhak Kave <[email protected]>
  • Loading branch information
Itzhak Kave committed Jan 30, 2024
1 parent ad29a7b commit 6b0e84d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/functional/z_cluster/nodes/test_nodes_restart_hci.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b0e84d

Please sign in to comment.