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

Tweak some tests for POE

parent 0544232c
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,12 @@ set exit_code 0 ...@@ -44,6 +44,12 @@ set exit_code 0
print_header $test_id print_header $test_id
# POE launch is so slow that this test is impractical
if {[test_launch_poe]} {
send_user "\nWARNING: This test is incompatible with launch/poe systems\n"
exit 0
}
# #
# Slurm time limit enforcement is performed within one minute of the actucal # Slurm time limit enforcement is performed within one minute of the actucal
# job time limit, so a one minute limit job will be killed 60 to 120 seconds # job time limit, so a one minute limit job will be killed 60 to 120 seconds
......
...@@ -220,11 +220,7 @@ set sleep_time 300 ...@@ -220,11 +220,7 @@ set sleep_time 300
set timeout [expr $max_job_delay + $sleep_time] set timeout [expr $max_job_delay + $sleep_time]
set srun_pid [spawn $srun -t1 -p $part_name $bin_sleep $sleep_time] set srun_pid [spawn $srun -t1 -p $part_name $bin_sleep $sleep_time]
expect { expect {
-re "time limit exceeded" { -re "(time limit|TIME LIMIT|TERMINATED)" {
set timed_out 1
exp_continue
}
-re "Terminated" {
set timed_out 1 set timed_out 1
exp_continue exp_continue
} }
......
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