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

Add time limit to test job

Just in case something goes wrong with the test, this should clear
  the job relatively soon
parent 8a944770
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ if { [test_alps] } { ...@@ -48,7 +48,7 @@ if { [test_alps] } {
# job steps. # job steps.
# #
set timeout $max_job_delay set timeout $max_job_delay
set srun_alloc_pid [spawn $salloc -v -N1 -n1 $bin_sleep 600] set srun_alloc_pid [spawn $salloc -v -N1 -n1 -t2 $bin_sleep 600]
set srun_alloc_sid $spawn_id set srun_alloc_sid $spawn_id
expect { expect {
-re "salloc: Granted job allocation ($number)" { -re "salloc: Granted job allocation ($number)" {
......
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