From 8d0fc963df817077a1d14beceb077a21033bb7fb Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 11 Nov 2015 08:48:46 -0800 Subject: [PATCH] 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 --- tests/_do_install_and_reboot.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/_do_install_and_reboot.pm b/tests/_do_install_and_reboot.pm index 5a65da2f..26061d88 100644 --- a/tests/_do_install_and_reboot.pm +++ b/tests/_do_install_and_reboot.pm @@ -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"); }