Skip to content

Commit 018ed51

Browse files
hanwen-clusterhimani2411
authored andcommitted
[integ-tests] Reduce timeout limit
The boot speed of Rocky and RHEL were improved after aws/aws-parallelcluster-cookbook#2920 Signed-off-by: Hanwen <[email protected]>
1 parent 52f81f4 commit 018ed51

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/integration-tests/tests/common/hit_common.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ def assert_compute_node_reasons(scheduler_commands, compute_nodes, expected_reas
8585
assert_that(node_info).contains(f"Reason={expected_reason}")
8686

8787

88-
# TOFIX We observe in 3.13.0 an increase in the bootstrap time for Rocky and RHEL.
89-
# We must address it and restore the default wait time to 5 minutes.
90-
@retry(wait_fixed=seconds(20), stop_max_delay=minutes(7))
88+
@retry(wait_fixed=seconds(20), stop_max_delay=minutes(5))
9189
def wait_for_num_nodes_in_scheduler(scheduler_commands, desired, filter_by_partition=None):
9290
assert_num_nodes_in_scheduler(scheduler_commands, desired, filter_by_partition)
9391

tests/integration-tests/tests/schedulers/test_slurm.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,7 @@ def test_slurm_scaling(
257257
cluster = clusters_factory(cluster_config)
258258
remote_command_executor = RemoteCommandExecutor(cluster)
259259
scheduler_commands = scheduler_commands_factory(remote_command_executor)
260-
# TOFIX We observe in 3.13.0 an increase in the bootstrap time for Rocky and RHEL.
261-
# We must address it and restore the default wait time to 300s.
262-
stop_max_delay_secs = 400 if (os.startswith("rocky") or os.startswith("rhel")) else 300
260+
stop_max_delay_secs = 300
263261

264262
_assert_cluster_initial_conditions(scheduler_commands, 20, 20, 4)
265263
_test_online_node_configured_correctly(

0 commit comments

Comments
 (0)