1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-08-28 11:07:13 -07:00
parent b9934c9816
commit 567b2f1a3f

View File

@ -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 {