Fix test timeouts

This commit is contained in:
Daniel A. Wozniak 2024-03-02 00:32:39 -07:00 committed by Daniel Wozniak
parent b7f44da849
commit e14ece8d3b
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -106,7 +106,7 @@ def test_grains_append_val_is_list(salt_call_cli, append_grain):
assert ret.data == {append_grain.key: [append_grain.value, second_grain]}
@pytest.mark.timeout_unless_on_windows(240)
@pytest.mark.timeout_unless_on_windows(300)
def test_grains_remove_add(
salt_call_cli, append_grain, wait_for_pillar_refresh_complete
):