Skip to content
Snippets Groups Projects
Commit 806f8bf1 authored by Morris Jette's avatar Morris Jette
Browse files

Change salloc job_allocate error message header

from "Failed to allocate resources" to
"Job submit/allocate failed"
parent 4d58cccd
No related branches found
No related tags found
No related merge requests found
...@@ -344,7 +344,7 @@ int main(int argc, char *argv[]) ...@@ -344,7 +344,7 @@ int main(int argc, char *argv[])
error("Unable to allocate resources: %m"); error("Unable to allocate resources: %m");
error_exit = immediate_exit; error_exit = immediate_exit;
} else { } else {
error("Failed to allocate resources: %m"); error("Job submit/allocate failed: %m");
} }
slurm_allocation_msg_thr_destroy(msg_thr); slurm_allocation_msg_thr_destroy(msg_thr);
exit(error_exit); exit(error_exit);
......
...@@ -54,7 +54,7 @@ for {set inx 1} {$inx < 4} {set inx [expr $inx * 2]} { ...@@ -54,7 +54,7 @@ for {set inx 1} {$inx < 4} {set inx [expr $inx * 2]} {
send "exit\r" send "exit\r"
exp_continue exp_continue
} }
-re "Failed to allocate.*" { -re "allocate failed" {
send_user "\nThis error is not unexpected, no worries\n" send_user "\nThis error is not unexpected, no worries\n"
set tasks_get $tasks_set set tasks_get $tasks_set
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment