From a80140819b984c04c14efd48685fd3add777013e Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 14 Mar 2024 20:42:56 +0000 Subject: [PATCH] Bump timeout --- tests/pytests/functional/test_version.py | 2 +- tests/pytests/integration/netapi/test_ssh_client.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pytests/functional/test_version.py b/tests/pytests/functional/test_version.py index b0e40dc3666..1c198abce7d 100644 --- a/tests/pytests/functional/test_version.py +++ b/tests/pytests/functional/test_version.py @@ -9,7 +9,7 @@ from tests.support.pytest.helpers import FakeSaltExtension pytestmark = [ # These are slow because they create a virtualenv and install salt in it pytest.mark.slow_test, - pytest.mark.timeout(120), + pytest.mark.timeout_unless_on_windows(240), ] log = logging.getLogger(__name__) diff --git a/tests/pytests/integration/netapi/test_ssh_client.py b/tests/pytests/integration/netapi/test_ssh_client.py index 53c5910b476..1de9f078773 100644 --- a/tests/pytests/integration/netapi/test_ssh_client.py +++ b/tests/pytests/integration/netapi/test_ssh_client.py @@ -16,6 +16,7 @@ pytestmark = [ # has been deprecated since Python 3.7, so, the logic goes into trying to import # backports.ssl-match-hostname which is not installed on the system. ), + pytest.mark.timeout_unless_on_windows(120), ]