longer install timeout for Rawhide

Summary:
When Rawhide's using a debug kernel, the install is pretty slow,
and often times out. This gives us a 33% longer timeout for the
install process when running on Rawhide. This will slow Rawhide
runs down a bit when there are genuine failures at this point,
but it seems kind of unavoidable.

Test Plan: Do a Rawhide run and see if we get fewer false fails.

Reviewers: jskladan, garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D643
This commit is contained in:
Adam Williamson 2015-11-11 08:48:46 -08:00
parent 29b9ffc405
commit 8d0fc963df
1 changed files with 7 additions and 2 deletions

View File

@ -41,8 +41,13 @@ sub run {
assert_screen "anaconda_install_user_created";
}
# Wait for install to end
assert_and_click "anaconda_install_done", '', 1800;
# Wait for install to end. Give Rawhide a bit longer, in case
# we're on a debug kernel, debug kernel installs are really slow.
my $timeout = 1800;
if (lc(get_var('VERSION')) eq "rawhide") {
$timeout = 2400;
}
assert_and_click "anaconda_install_done", '', $timeout;
if (get_var('LIVE')) {
x11_start_program("reboot");
}