Skip to content

Commit e71824a

Browse files
committed
Fix unit tests
(cherry picked from commit c84aeb5)
1 parent 5fd0c47 commit e71824a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/slurm_plugin/test_resume.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,10 @@ def test_resume_launch(
448448
if expected_failed_nodes:
449449
for error_code, nodeset in expected_failed_nodes.items():
450450
mock_handle_failed_nodes_calls.append(
451-
call(nodeset, reason=f"(Code:{error_code})Failure when resuming nodes")
451+
call(
452+
nodeset,
453+
reason=f"(Code:{error_code})Failure when resuming nodes - Check the slurm_resume log for ec2 error codes",
454+
)
452455
)
453456
mock_handle_failed_nodes.assert_has_calls(mock_handle_failed_nodes_calls)
454457
mock_terminate_instances.assert_called_with(ANY, mock_resume_config.terminate_max_batch_size)

0 commit comments

Comments
 (0)