From 567b2f1a3fdbc4c969bbabcb17d3a7012ded721c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 28 Aug 2019 11:07:13 -0700 Subject: [PATCH] Wait longer for console to appear after quitting Firefox A couple of tests failed in F31/Rawhide lately because quitting Firefox (running on a bare X server) took more than 10 seconds to get back to a console...not sure why, but it's not something we ought to waste a lot of time on, let's just bump the timeout. Signed-off-by: Adam Williamson --- lib/utils.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 {