Skip to content
Snippets Groups Projects
Commit 5415331a authored by Albert Gil's avatar Albert Gil
Browse files

Testsuite - Improve test3.2 increasing its speed reducing timeout value


We don't need to wait so much, we are already checking the messages
of partition being DOWN.

Bug 10810

Signed-off-by: default avatarScott Jackson <scottmo@schedmd.com>
parent 3d40228b
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ proc check_part_down { part_name } {
set matches 0
set timedout false
set timeout 5
set srun_pid [spawn $srun -p$part_name -N1 -t1 $bin_true]
expect {
-re "DOWN state" {
......@@ -66,6 +67,7 @@ proc check_part_down { part_name } {
}
}
set timeout $max_job_delay
return $timedout
}
......
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