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

Refine limits test

parent 3bd524be
No related branches found
No related tags found
No related merge requests found
...@@ -119,15 +119,15 @@ proc srun_test {exp_cnt account} { ...@@ -119,15 +119,15 @@ proc srun_test {exp_cnt account} {
} }
if {$job_id == 0} { if {$job_id == 0} {
send_user "\nFAILURE: did not get job id\n" if {$exp_cnt != 0} {
set exit_code 1 send_user "\nFAILURE: did not get job id\n"
set exit_code 1
}
} else { } else {
if {[wait_for_job $job_id DONE] != 0} { if {[wait_for_job $job_id DONE] != 0} {
send_user "\nFAILURE: waiting for job $job_id to complete\n" send_user "\nFAILURE: waiting for job $job_id to complete\n"
set exit_code 1 set exit_code 1
} }
# Wait briefly for database propagation
sleep 1
} }
} }
......
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