mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-30 14:13:08 +00:00
desktop_login: bit more generous timeout for check_desktop
It can take some time for first login of a user (especially in KDE). Test has been failing lately on Rawhide because of this. It seems until recently we never got a still screen when trying to log in as Jim - so the effective wait for login to complete was 60 seconds, 30 seconds for wait_still_screen to time out then 30 seconds for the actual login needle assertion - but now we are getting a blank screen for 5 seconds which satisfies wait_still_screen almost immediately, so effective timeout for the login process is only 35 seconds, which isn't long enough. So let's bump the check_desktop timeout to 60 seconds. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
e5229fd969
commit
4553a9e43b
@ -88,7 +88,7 @@ sub login_user {
|
||||
type_very_safely "$password\n";
|
||||
}
|
||||
type_very_safely "$password\n";
|
||||
check_desktop if ($args{checklogin});
|
||||
check_desktop(timeout=>60) if ($args{checklogin});
|
||||
wait_still_screen 5;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user