Skip to content

Commit e14ece8

Browse files
committed
Fix test timeouts
1 parent b7f44da commit e14ece8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/pytests/functional/modules/state/requisites/test_unless.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
]
77

88

9+
@pytest.mark.timeout(120)
910
def test_unless_req(state):
1011
ret = state.single(fun="test.succeed_with_changes", name="unless test", unless=[{}])
1112
assert ret.result is True
@@ -35,6 +36,7 @@ def test_unless_req(state):
3536
assert ret.comment == "Success!"
3637

3738

39+
@pytest.mark.timeout(120)
3840
def test_unless_req_retcode(state):
3941
ret = state.single(
4042
fun="test.succeed_with_changes",

tests/pytests/integration/modules/grains/test_append.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_grains_append_val_is_list(salt_call_cli, append_grain):
106106
assert ret.data == {append_grain.key: [append_grain.value, second_grain]}
107107

108108

109-
@pytest.mark.timeout_unless_on_windows(240)
109+
@pytest.mark.timeout_unless_on_windows(300)
110110
def test_grains_remove_add(
111111
salt_call_cli, append_grain, wait_for_pillar_refresh_complete
112112
):

0 commit comments

Comments
 (0)