Skip to content

Commit 8425d98

Browse files
committed
tests: Increase retries to avoid timeouts on slower systems
Follow-up from ansible#756 which introduced this test. Signed-off-by: Jakub Jelen <jjelen@redhat.com>
1 parent eb435be commit 8425d98

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Increased the amount of retries in test to avoid possible timeouts
2+
on slower systems -- by :user:`Jakuje`.

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def ssh_session_connect_retries(sshd_addr, ssh_clientkey_path):
131131
"""
132132
Authenticate existing session object against SSHD with a private SSH key.
133133
134-
This sets ``open_session_retries=100`` and it returns a function
134+
This sets ``open_session_retries=1000`` and it returns a function
135135
that takes session as parameter.
136136
137137
:returns: Function that will connect the session.
@@ -141,7 +141,7 @@ def ssh_session_connect_retries(sshd_addr, ssh_clientkey_path):
141141
ensure_ssh_session_connected,
142142
sshd_addr=sshd_addr,
143143
ssh_clientkey_path=ssh_clientkey_path,
144-
ssh_session_retries=100,
144+
ssh_session_retries=1000,
145145
)
146146

147147

0 commit comments

Comments
 (0)