Skip to content
Snippets Groups Projects
Commit 9bc5e56b authored by Moe Jette's avatar Moe Jette
Browse files

Check InactiveLimit to make sure it is at least one minute so

the time limit check is valid
parent 17b78e3c
No related branches found
No related tags found
No related merge requests found
......@@ -65,11 +65,16 @@ expect {
}
}
log_user 1
if {$inactive_limit == 0} {
set inactive_limit $sleep_time
}
if {$inactive_limit < 120} {
send_user "\nWARNING: Inactive limit is too low for this test\n"
exit 0
}
if {$inactive_limit < $sleep_time} {
if {$inactive_limit != 0} {
set sleep_time $inactive_limit
send_user "\nReset job sleep time to $sleep_time seconds\n"
}
set sleep_time $inactive_limit
send_user "\nReset job sleep time to $sleep_time seconds\n"
}
#
......
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