Skip to content

Commit 697207a

Browse files
committed
[Test] In test_scontrol_reboot, increase the timeout to wait for compute nodes to reboot from 400s to 500s in Rocky and RHEL as we observed an increase in bootstrap time.
1 parent 4a31972 commit 697207a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ def test_scontrol_reboot(
782782
clusters_factory,
783783
test_datadir,
784784
scheduler_commands_factory,
785+
os,
785786
):
786787
cluster_config = pcluster_config_reader()
787788
cluster = clusters_factory(cluster_config)
@@ -798,11 +799,14 @@ def test_scontrol_reboot(
798799
slots=2,
799800
constraint="dynamic",
800801
)
802+
# TOFIX We observe in 3.13.0 an increase in the bootstrap time for Rocky and RHEL.
803+
# We must address it and restore the default wait time to 400s.
804+
stop_max_delay_secs = 500 if (os.startswith("rocky") or os.startswith("rhel")) else 400
801805
wait_for_compute_nodes_states(
802806
slurm_commands,
803807
["queue1-dy-cr1-1", "queue1-dy-cr1-2"],
804808
"idle",
805-
stop_max_delay_secs=400,
809+
stop_max_delay_secs=stop_max_delay_secs,
806810
)
807811

808812
# Test that idle static and dynamic nodes can be rebooted

0 commit comments

Comments
 (0)