mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Fix test timeouts
This commit is contained in:
parent
b7f44da849
commit
e14ece8d3b
2 changed files with 3 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
):
|
||||
|
|
Loading…
Add table
Reference in a new issue