Skip to content

Commit

Permalink
Increase time to wait. On Sat side, it should be 60 seconds but let's…
Browse files Browse the repository at this point in the history
… give it a few seconds reserve.
  • Loading branch information
lhellebr committed Mar 26, 2024
1 parent 7ffb14e commit f02b15e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/foreman/destructive/test_ldap_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ def test_session_expire_rhsso_idle_timeout(
session.rhsso_login.login(
{'username': settings.rhsso.rhsso_user, 'password': settings.rhsso.rhsso_password}
)
sleep(60)
sleep(
150
) # give the browser some time to actually logout, even though Satellite should terminate session after one minute
with pytest.raises(NavigationTriesExceeded) as error:
session.task.read_all(widget_names='current_user')['current_user']
assert error.typename == 'NavigationTriesExceeded'
Expand Down

0 comments on commit f02b15e

Please sign in to comment.