diff --git a/lib/utils.pm b/lib/utils.pm index 98be76a9..70ac81c9 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -688,7 +688,10 @@ sub quit_firefox { # root, so let's just run through console_login again. This is # fine for older releases which don't have the bug, console_login # will just notice we're already logged in as root and return. - console_login(user=>'root'); + # Timeout is set to 30 as sometimes it seems to take a while to + # get back to a console, e.g. + # https://openqa.fedoraproject.org/tests/437570 + console_login(user=>'root', timeout=>30); } sub start_with_launcher {