Skip to content
Snippets Groups Projects
Commit 091a0a4a authored by Moe Jette's avatar Moe Jette
Browse files

Correct state check test to fix race condition resulting in bogus error

message for test1.26.
parent c45b5c46
No related branches found
No related tags found
No related merge requests found
......@@ -739,7 +739,7 @@ _rpc_kill_tasks(slurm_msg_t *msg, slurm_addr *cli_addr)
goto done;
}
if (step->state != SLURMD_JOB_STARTED) {
if (step->state == SLURMD_JOB_STARTING) {
debug ("kill req for starting job step %u.%u",
req->job_id, req->job_step_id);
rc = ESLURMD_JOB_NOTRUNNING;
......
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