Skip to content
Snippets Groups Projects
Commit 80e2ca68 authored by jette's avatar jette
Browse files

Set timeouts in some tests for very slow slurmctld

parent e021ad80
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ print_header $test_id
#
set job_name "AAAAABBBBBCCCCCDDDDDEEEEEFFFFFGGGGGHHHHHIIIIIJJJJJKKKKKLLLLLMMMMM"
set job_id 0
set timeout $max_job_delay
set srun_pid [spawn $srun --verbose --job-name=$job_name -t1 $bin_id]
expect {
# needed for cray systems
......
......@@ -55,6 +55,7 @@ make_bash_script $file_in "
$scontrol show step \$SLURM_JOB_ID.\$SLURM_STEPID
"
set timeout $max_job_delay
set srun_pid [spawn $srun -N1 -t1 --checkpoint=$ckpt_in ./$file_in]
expect {
-re "Checkpoint=($number)" {
......
......@@ -70,6 +70,7 @@ if {$matches != 1} {
# Note the small value of timeout
#
set matches 0
set timeout $max_job_delay
set srun_pid [spawn $srun --immediate -v -t1 $bin_pwd]
expect {
-re "error" {
......
......@@ -41,7 +41,8 @@ print_header $test_id
#
# Run a job attempting to get some dummy license name
#
set match 0
set match 0
set timeout $max_job_delay
set srun_pid [spawn $srun --licenses=DUMMY_FOR_TESTING $bin_printenv SLURMD_NODENAME]
expect {
-re "Invalid license" {
......
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