bc39443 ipatests: commands: Wait for the SSSD to become available

1 file Authored by mpolovka a year ago, Committed by frenaud a year ago,
    ipatests: commands: Wait for the SSSD to become available
    
    Previous test to test_ssh_key_connection is calling ipa-server-upgrade command,
    which restarts all the associated services.
    Especially on slower machine, SSSD is not yet online when the SSH connection is attempted.
    This results to only cached users being available.
    Wait for SSSD to become available before the SSH connection is attempted.
    
    Fixes: https://pagure.io/freeipa/issue/9377
    
    Signed-off-by: Michal Polovka <mpolovka@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    Reviewed-By: Julien Rische <jrische@redhat.com>