From 7086805beb7add189f827d14a3743cff286b3abe Mon Sep 17 00:00:00 2001 From: Helena Greebe Date: Tue, 10 Dec 2024 12:33:03 -0500 Subject: [PATCH] Wait for update to complete in test_api --- tests/integration-tests/tests/pcluster_api/test_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration-tests/tests/pcluster_api/test_api.py b/tests/integration-tests/tests/pcluster_api/test_api.py index 295dc0cfbc..e3b1070254 100644 --- a/tests/integration-tests/tests/pcluster_api/test_api.py +++ b/tests/integration-tests/tests/pcluster_api/test_api.py @@ -302,6 +302,7 @@ def _test_cluster_workflow( with open(updated_config_file, encoding="utf-8") as config_file: updated_cluster_config = config_file.read() _test_update_cluster(region, cluster_operations_client, cluster_name, updated_cluster_config) + cluster.wait_cluster_status("UPDATE_COMPLETE") head_node = _test_describe_cluster_head_node(region, cluster_instances_client, cluster_name) compute_node_map = _test_describe_cluster_compute_nodes(region, cluster_instances_client, cluster_name)