From b0f65cbd17a7a0c24ba8c3e8ca48fdcaf85c58ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Wed, 19 Jan 2022 20:19:50 +0545 Subject: [PATCH] tests: increase timeout for exp init tests --- tests/func/experiments/test_init.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/func/experiments/test_init.py b/tests/func/experiments/test_init.py index 316ef0a28..dec48a16a 100644 --- a/tests/func/experiments/test_init.py +++ b/tests/func/experiments/test_init.py @@ -10,9 +10,10 @@ from dvc.repo.experiments.init import init from dvc.stage.exceptions import DuplicateStageName # the tests may hang on prompts on failure -pytestmark = pytest.mark.timeout(2, func_only=True) +pytestmark = pytest.mark.timeout(3, func_only=True) +@pytest.mark.timeout(5, func_only=True) def test_init_simple(tmp_dir, scm, dvc, capsys): tmp_dir.gen( { @@ -296,6 +297,7 @@ def test_init_interactive_default( assert not out +@pytest.mark.timeout(5, func_only=True) @pytest.mark.parametrize( "interactive, overrides, inp", [