We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73d764b commit f2f2556Copy full SHA for f2f2556
tests/slurm_plugin/test_clustermgtd.py
@@ -3533,6 +3533,13 @@ def test_reset_timeout_expired_compute_resources(
3533
assert_that(cluster_manager._insufficient_capacity_compute_resources).is_equal_to(
3534
expected_insufficient_capacity_compute_resources
3535
)
3536
+
3537
+ if expected_insufficient_capacity_compute_resources:
3538
+ assert (
3539
+ "compute resources will be reset after insufficient capacity timeout (20 seconds) expired. "
3540
+ "Check the slurm_resume log for EC2 error codes."
3541
+ ) in caplog.text
3542
3543
if expected_power_save_node_list:
3544
power_save_mock.assert_called_with(
3545
expected_power_save_node_list, reason="Enabling node since insufficient capacity timeout expired"
0 commit comments