From 4553a9e43b17034b826b4f40908455da2188c876 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 28 Jun 2021 16:54:13 -0700 Subject: [PATCH] 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 --- tests/desktop_login.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/desktop_login.pm b/tests/desktop_login.pm index b659f9c3..fc0492e7 100644 --- a/tests/desktop_login.pm +++ b/tests/desktop_login.pm @@ -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; }