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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-10-31 16:33:32 -07:00
parent 70ef3404f0
commit 6ddb475928

View File

@ -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();
}