From ec762117d0a509e09c762aa0c087af77f0e76b6c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 14 Jan 2019 15:22:01 -0800 Subject: [PATCH] Wait an extra 2 minutes for the installer 'beta nag' screen There seems to be an issue in Rawhide ATM which can cause the 'beta nag' screen to take a very long time to appear. Bump the timeout to avoid tests failing on this. https://bugzilla.redhat.com/show_bug.cgi?id=1666112 Signed-off-by: Adam Williamson --- tests/_boot_to_anaconda.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index 48fd824d..69af96b8 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -75,10 +75,12 @@ sub run { assert_screen "anaconda_select_install_lang_selected", 3; assert_and_click "anaconda_select_install_lang_continue"; - # wait 60 secs for hub or Rawhide warning dialog to appear. + # wait 180 secs for hub or Rawhide warning dialog to appear + # (per https://bugzilla.redhat.com/show_bug.cgi?id=1666112 + # the nag screen can take a LONG time to appear sometimes). # If the hub appears, return - we're done now. If Rawhide # warning dialog appears, accept it. - if (check_screen ["anaconda_rawhide_accept_fate", "anaconda_main_hub"], 60) { + if (check_screen ["anaconda_rawhide_accept_fate", "anaconda_main_hub"], 180) { if (match_has_tag("anaconda_rawhide_accept_fate")) { assert_and_click "anaconda_rawhide_accept_fate"; }