Skip to content

Commit e07ab3b

Browse files
authored
[Integ-Test] Fix test_queue_parameters_update (aws#6720)
1 parent f5270f4 commit e07ab3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration-tests/tests/update/test_update.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,8 @@ def _test_update_queue_strategy_with_running_job(
939939
queue1_nodes = scheduler_commands.get_compute_nodes("queue1")
940940
assert_compute_node_states(scheduler_commands, queue1_nodes, expected_states=["mixed", "allocated"])
941941
if queue_update_strategy == "TERMINATE":
942-
scheduler_commands.assert_job_state(queue2_job_id, "PENDING")
942+
time.sleep(10)
943+
scheduler_commands.assert_job_state(queue2_job_id, "CONFIGURING")
943944
# check queue1 AMIs are not replaced
944945
_check_queue_ami(cluster, ec2, pcluster_ami_id, "queue1")
945946

0 commit comments

Comments
 (0)