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

Fix test in case memory default size configured

The original logic was preventing a second step from starting due
  to propagating the job's memory limit, which caused the test to
  fail.
parent d2c83807
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ file delete $file_out $file_err ...@@ -96,7 +96,7 @@ file delete $file_out $file_err
# Build input script file # Build input script file
# #
make_bash_script $file_in " make_bash_script $file_in "
$srun -n1 $master_prog $slave_prog $srun -n1 --mem=0 $master_prog $slave_prog
" "
# #
...@@ -104,7 +104,7 @@ make_bash_script $file_in " ...@@ -104,7 +104,7 @@ make_bash_script $file_in "
# #
set timeout $max_job_delay set timeout $max_job_delay
set no_start 0 set no_start 0
set sbatch_pid [spawn $sbatch -n4 --output=$file_out --error=$file_err -t1 $file_in] set sbatch_pid [spawn $sbatch -n4 --mem=0 --output=$file_out --error=$file_err -t1 $file_in]
expect { expect {
-re "Submitted batch job ($number)" { -re "Submitted batch job ($number)" {
set job_id $expect_out(1,string) set job_id $expect_out(1,string)
......
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