3477f2c INTG: Increase the sleep() time so the changes are reflected on SSSD

1 file Authored by fidencio 4 years ago, Committed by mzidek 4 years ago,
    INTG: Increase the sleep() time so the changes are reflected on SSSD
    
    Those tests have been failing a lot recently and it does happen becase
    the time to reflect the changes on SSSD is not enough for the machine
    where the tests are running.
    
    There's no reasonable explanation in the code why 4 seconds is used as
    INTERACTIVE_TIMEOUT, neither a reasonable explanation why 2 seconds is
    used as the time waited in order to have those changes reflected on
    SSSD (neither in the code nor in the commit messages).
    
    This patch uses the most simple empiric way to determine a better value
    for this timeout, which was "run the tests a considerable amount of time
    and check that there were no failures".
    
    So, in order to avoid failures and our tests giving us more reliable
    information, let's give more time so the changes are reflected on SSSD.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3463
    
    Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
    Reviewed-by: Michal Židek <mzidek@redhat.com>
    Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>