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

Modify test for changed scontrol output and disable with select/serial

parent da312784
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,9 @@ print_header $test_id
if {[test_cray]} {
send_user "\nWARNING: This test is incompatible with Cray systems\n"
exit $exit_code
} elseif {[test_serial]} {
send_user "\nWARNING: Test incompatible with select/serial\n"
exit $exit_code
}
#
......@@ -114,14 +117,14 @@ set waited 1
set timeout [expr $max_job_delay + 5]
set srun_pid [spawn $srun -N1 --nodelist=$nodelist_name -t1 --share $scontrol -o show job $job_id1]
expect {
-re "Partition=($alpha_numeric_under)" {
set partition $expect_out(1,string)
exp_continue
}
-re "JobState=RUN" {
set waited 0
exp_continue
}
-re "Partition=($alpha_numeric_under)" {
set partition $expect_out(1,string)
exp_continue
}
timeout {
send_user "\nFAILURE: srun not responding\n"
slow_kill $srun_pid
......
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