From 7c487d2c71a037ec4105ddefd412065101f6eaa7 Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Wed, 28 Feb 2024 01:07:31 -0700 Subject: [PATCH] Adjust more test timeouts --- tests/pytests/functional/formulas/test_nginx.py | 4 ++++ tests/unit/utils/test_pyobjects.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/pytests/functional/formulas/test_nginx.py b/tests/pytests/functional/formulas/test_nginx.py index ea6381f7e3b..f1d86091185 100644 --- a/tests/pytests/functional/formulas/test_nginx.py +++ b/tests/pytests/functional/formulas/test_nginx.py @@ -3,6 +3,10 @@ Tests using nginx formula """ import pytest +pytestmark = [ + pytest.mark.timeout_unless_on_windows(120), +] + @pytest.fixture(scope="module") def _formula(saltstack_formula): diff --git a/tests/unit/utils/test_pyobjects.py b/tests/unit/utils/test_pyobjects.py index 4e005a6479b..981a3351cde 100644 --- a/tests/unit/utils/test_pyobjects.py +++ b/tests/unit/utils/test_pyobjects.py @@ -25,7 +25,7 @@ from tests.support.runtests import RUNTIME_VARS from tests.support.unit import TestCase pytestmark = [ - pytest.mark.timeout_unless_on_windows(180), + pytest.mark.timeout_unless_on_windows(240), ] log = logging.getLogger(__name__)