Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/changelog-fragments/777.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Increased the amount of retries in test to avoid possible timeouts
on slower systems -- by :user:`Jakuje`.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def ssh_session_connect_retries(sshd_addr, ssh_clientkey_path):
"""
Authenticate existing session object against SSHD with a private SSH key.

This sets ``open_session_retries=100`` and it returns a function
This sets ``open_session_retries=1000`` and it returns a function
that takes session as parameter.

:returns: Function that will connect the session.
Expand All @@ -141,7 +141,7 @@ def ssh_session_connect_retries(sshd_addr, ssh_clientkey_path):
ensure_ssh_session_connected,
sshd_addr=sshd_addr,
ssh_clientkey_path=ssh_clientkey_path,
ssh_session_retries=100,
ssh_session_retries=1000,
)


Expand Down
Loading