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

Modify test and srun immediate error message slightly

The srun message changed for pack jobs and the test failed.
  Tweak both message and test for better clarity.
parent 8411d6ed
No related branches found
No related tags found
No related merge requests found
...@@ -350,7 +350,7 @@ extern int launch_common_create_job_step(srun_job_t *job, bool use_all_cpus, ...@@ -350,7 +350,7 @@ extern int launch_common_create_job_step(srun_job_t *job, bool use_all_cpus,
(rc != SLURM_PROTOCOL_SOCKET_IMPL_TIMEOUT) && (rc != SLURM_PROTOCOL_SOCKET_IMPL_TIMEOUT) &&
(rc != ESLURM_INTERCONNECT_BUSY) && (rc != ESLURM_INTERCONNECT_BUSY) &&
(rc != ESLURM_DISABLED))) { (rc != ESLURM_DISABLED))) {
error("Unable to create job %u step: %m", error("Unable to create step for job %u: %m",
job->ctx_params.job_id); job->ctx_params.job_id);
return SLURM_ERROR; return SLURM_ERROR;
} }
......
...@@ -220,7 +220,7 @@ expect { ...@@ -220,7 +220,7 @@ expect {
set exit_code 1 set exit_code 1
exp_continue exp_continue
} }
-re "Unable to create job step" { -re "Unable to create " {
send_user "This error was expected, no worries\n" send_user "This error was expected, no worries\n"
incr matches incr matches
exp_continue exp_continue
......
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