From 2b29ecbc184415bf827f8ecc83fb5b5555d495a8 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 20 Dec 2018 09:02:36 -0800 Subject: [PATCH] FreeIPA client: set longer timeout for login(1) (#1661273) Signed-off-by: Adam Williamson --- tests/freeipa_client.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/freeipa_client.pm b/tests/freeipa_client.pm index 00b45e8a..5f638f10 100644 --- a/tests/freeipa_client.pm +++ b/tests/freeipa_client.pm @@ -20,6 +20,8 @@ sub run { validate_script_output 'klist -k', sub { $_ =~ m/$qhost\@DOMAIN\.LOCAL/ }; # check we can kinit with the host principal assert_script_run "kinit -k host/$hostname\@DOMAIN.LOCAL"; + # Set a longer timeout for login(1) to workaround RHBZ #1661273 + assert_script_run 'echo "LOGIN_TIMEOUT 180" >> /etc/login.defs'; # switch to tty2 for login tests send_key "ctrl-alt-f2"; # try and login as test1, should work