From 02063241150441b68db966cd97e4b1eae3140359 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 25 Jul 2019 14:55:07 -0700 Subject: [PATCH] start_cockpit: wait a bit longer for login screen Current tests sometimes seem to fail because X takes quite a while to come up for some reason. I can't figure out why, and this isn't properly a failure of the test (starting the X server is an implementation detail), so let's just wait a bit longer for now. Signed-off-by: Adam Williamson --- lib/utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index bf850fe9..32dadaf3 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -322,7 +322,7 @@ sub start_cockpit { disable_firefox_studies; # run firefox directly in X as root. never do this, kids! type_string "startx /usr/bin/firefox -width 1024 -height 768 http://localhost:9090\n"; - assert_screen "cockpit_login", 30; + assert_screen "cockpit_login", 45; # this happened on early Modular Server composes... record_soft_failure "Unbranded Cockpit" if (match_has_tag "cockpit_login_unbranded"); # login screen has a flashing cursor so screen is not still at level 47