From 6ddb475928bde2f8d863d7cf5aafea4b0ed5169f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 31 Oct 2018 16:33:32 -0700 Subject: [PATCH] RHBZ#1644919: allow longer for console login, with a soft fail Since a recent sssd update, console login during FreeIPA tests is taking unusually long. We don't want this to fail all the tests, so let's extend the timeout, but with a soft fail. Signed-off-by: Adam Williamson --- lib/utils.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index bb7ac2e6..49c527bc 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -210,7 +210,13 @@ sub console_login { send_key "ret"; } # make sure we reached the console - assert_screen($good, 30); + unless (check_screen($good, 30)) { + # as of 2018-10 we have a bug in sssd which makes this take + # unusually long in the FreeIPA tests, let's allow another 30 + # secs, with a soft fail - RHBZ #1644919 + record_soft_failure "Console login is taking a long time - #1644919?"; + assert_screen($good, 30); + } _console_login_finish(); }